top | up | prev | next

UIntValue Class

Definition at line 108 of Value.hpp

Constructors

UIntValue()
UIntValue(uint32_t value_)

Member Functions

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

Member Variables

uint32_t value

Constructor Details

UIntValue Constructor

cmsxi::UIntValue::UIntValue()

Definition at line 133 of Value.cpp :
133 : ConstantValue()value(0)
134 {
135 }


Declaration at line 111 of Value.hpp


UIntValue Constructor

cmsxi::UIntValue::UIntValue(uint32_t value_)

Definition at line 137 of Value.cpp :
137 : ConstantValue()value(value_)
138 {
139 }


Declaration at line 112 of Value.hpp


Member Function Details

GetType Member Function

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

Definition at line 141 of Value.cpp :
142 {
143     return context.GetUIntType();
144 }


Declaration at line 113 of Value.hpp

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

Calls: cmsxi::Context::GetUIntType


Name Member Function

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

Definition at line 146 of Value.cpp :
147 {
148     return std::to_string(value);
149 }


Declaration at line 114 of Value.hpp

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


top | up | prev | next