top | up | prev | next

SByteValue Class

Definition at line 53 of Value.hpp

Constructors

SByteValue()
SByteValue(int8_t value_)

Member Functions

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

Member Variables

int8_t value

Constructor Details

SByteValue Constructor

cmsxi::SByteValue::SByteValue()

Definition at line 43 of Value.cpp :
 43 : ConstantValue()value(0)
 44 {
 45 }


Declaration at line 56 of Value.hpp


SByteValue Constructor

cmsxi::SByteValue::SByteValue(int8_t value_)

Definition at line 47 of Value.cpp :
 47 : ConstantValue()value(value_)
 48 {
 49 }


Declaration at line 57 of Value.hpp


Member Function Details

GetType Member Function

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

Definition at line 51 of Value.cpp :
 52 {
 53     return context.GetSByteType();
 54 }


Declaration at line 58 of Value.hpp

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

Calls: cmsxi::Context::GetSByteType


Name Member Function

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

Definition at line 56 of Value.cpp :
 57 {
 58     return std::to_string(value);
 59 }


Declaration at line 59 of Value.hpp

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


top | up | prev | next