top | up | prev | next

StringValue Class

Definition at line 206 of Value.hpp

Constructors

StringValue(Type* type_, const std::string& value_)

Member Functions

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

Member Variables

Type* type
std::string value

Constructor Details

StringValue Constructor

cmsxi::StringValue::StringValue(Type * type_, const std::string& value_)

Definition at line 345 of Value.cpp :
345 : ConstantValue()type(type_)value(value_)
346 {
347 }


Declaration at line 209 of Value.hpp


Member Function Details

GetType Member Function

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

Definition at line 376 of Value.cpp :
377 {
378     return type;
379 }


Declaration at line 211 of Value.hpp

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


IsStringValue Member Function

bool cmsxi::StringValue::IsStringValue() const override

Definition at line 212 of Value.hpp :
212 { return true; }

Base class overridden functions: cmsxi::Value::IsStringValue


Name Member Function

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

Definition at line 349 of Value.cpp
Declaration at line 210 of Value.hpp

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


top | up | prev | next