top | up | prev | next

ClsIdValue Class

Definition at line 231 of Value.hpp

Constructors

ClsIdValue(const std::string& typeId_)

Member Functions

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

Member Variables

std::string typeId

Constructor Details

ClsIdValue Constructor

cmsxi::ClsIdValue::ClsIdValue(const std::string& typeId_)

Definition at line 407 of Value.cpp :
407 : ConstantValue()typeId(typeId_)
408 {
409 }


Declaration at line 234 of Value.hpp


Member Function Details

GetType Member Function

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

Definition at line 417 of Value.cpp :
418 {
419     return context.GetPtrType(context.GetVoidType());
420 }


Declaration at line 236 of Value.hpp

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

Calls: cmsxi::Context::GetPtrType , cmsxi::Context::GetVoidType


Name Member Function

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

Definition at line 411 of Value.cpp :
412 {
413     std::string name = "clsid(" + typeId + ")";
414     return name;
415 }


Declaration at line 235 of Value.hpp

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


top | up | prev | next