top | up | prev | next

StringPtr Class

Definition at line 21 of String.hpp

Constructors

StringPtr(const char32_t* value_)

Member Functions

bool IsEmpty() const
const char32_t* Value() const

Member Variables

const char32_t* value

Constructor Details

StringPtr Constructor

soulng::util::StringPtr::StringPtr(const char32_t * value_)

Definition at line 24 of String.hpp :
24 : value(value_) {}


Member Function Details

IsEmpty Member Function

bool soulng::util::StringPtr::IsEmpty() const

Definition at line 26 of String.hpp :
27 {
28     Assert(value"null string ptr");
29     return !*value;
30 }



Value Member Function

const char32_t * soulng::util::StringPtr::Value() const

Definition at line 25 of String.hpp :
25 { return value; }

Called by: soulng::util::StringPtrHash::operator()


top | up | prev | next