top | up | prev | next

UShortValue Class

Definition at line 86 of Value.hpp

Constructors

UShortValue()
UShortValue(uint16_t value_)

Member Functions

Type* GetType(Context& context) override
std::string Name(Context& context) override

Member Variables

uint16_t value

Constructor Details

UShortValue Constructor

cmsxi::UShortValue::UShortValue()

Definition at line 97 of Value.cpp :
 97 : ConstantValue()value(0)
 98 {
 99 }


Declaration at line 89 of Value.hpp


UShortValue Constructor

cmsxi::UShortValue::UShortValue(uint16_t value_)

Definition at line 101 of Value.cpp :
101 : ConstantValue()value(value_)
102 {
103 }


Declaration at line 90 of Value.hpp


Member Function Details

GetType Member Function

Type * cmsxi::UShortValue::GetType(Context & context) override

Definition at line 105 of Value.cpp :
106 {
107     return context.GetUShortType();
108 }


Declaration at line 91 of Value.hpp

Base class overridden functions: cmsxi::Value::GetType

Calls: cmsxi::Context::GetUShortType


Name Member Function

std::string cmsxi::UShortValue::Name(Context & context) override

Definition at line 110 of Value.cpp :
111 {
112     return std::to_string(value);
113 }


Declaration at line 92 of Value.hpp

Base class overridden functions: cmsxi::ConstantValue::Name , cmsxi::Value::Name


top | up | prev | next