top | up | prev | next

ByteValue Class

Definition at line 64 of Value.hpp

Constructors

ByteValue()
ByteValue(uint8_t value_)

Member Functions

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

Member Variables

uint8_t value

Constructor Details

ByteValue Constructor

cmsxi::ByteValue::ByteValue()

Definition at line 61 of Value.cpp :
 61 : ConstantValue()value(0)
 62 {
 63 }


Declaration at line 67 of Value.hpp


ByteValue Constructor

cmsxi::ByteValue::ByteValue(uint8_t value_)

Definition at line 65 of Value.cpp :
 65 : ConstantValue()value(value_)
 66 {
 67 }


Declaration at line 68 of Value.hpp


Member Function Details

GetType Member Function

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

Definition at line 69 of Value.cpp :
 70 {
 71     return context.GetByteType();
 72 }


Declaration at line 69 of Value.hpp

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

Calls: cmsxi::Context::GetByteType


Name Member Function

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

Definition at line 74 of Value.cpp :
 75 {
 76     return std::to_string(value);
 77 }


Declaration at line 70 of Value.hpp

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


top | up | prev | next