top | up | prev | next

NullValue Class

Definition at line 165 of Value.hpp

Constructors

NullValue(PtrType* ptrType_)

Member Functions

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

Member Variables

PtrType* ptrType

Constructor Details

NullValue Constructor

cmsxi::NullValue::NullValue(PtrType * ptrType_)

Definition at line 223 of Value.cpp :
223 : ConstantValue()ptrType(ptrType_)
224 {
225 }


Declaration at line 168 of Value.hpp


Member Function Details

GetType Member Function

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

Definition at line 227 of Value.cpp :
228 {
229     return ptrType;
230 }


Declaration at line 169 of Value.hpp

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


Name Member Function

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

Definition at line 232 of Value.cpp :
233 {
234     return "null";
235 }


Declaration at line 170 of Value.hpp

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


top | up | prev | next