ML Reference
ml::ConstantStringValue Class Reference

Shared container for the string value and its hash. More...

#include <mlConstantString.h>

Public Member Functions

 ConstantStringValue ()
 
 ConstantStringValue (const std::string &value)
 
void incRefCount () const
 
void decRefCount () const
 
size_t getHash () const
 

Protected Member Functions

 ~ConstantStringValue ()
 

Friends

class ConstantString
 

Detailed Description

Shared container for the string value and its hash.

Definition at line 30 of file mlConstantString.h.

Constructor & Destructor Documentation

◆ ConstantStringValue() [1/2]

ml::ConstantStringValue::ConstantStringValue ( )
inline

Definition at line 35 of file mlConstantString.h.

◆ ConstantStringValue() [2/2]

ml::ConstantStringValue::ConstantStringValue ( const std::string & value)
inline

Definition at line 38 of file mlConstantString.h.

◆ ~ConstantStringValue()

ml::ConstantStringValue::~ConstantStringValue ( )
inlineprotected

Definition at line 59 of file mlConstantString.h.

Member Function Documentation

◆ decRefCount()

void ml::ConstantStringValue::decRefCount ( ) const
inline

Definition at line 48 of file mlConstantString.h.

◆ getHash()

size_t ml::ConstantStringValue::getHash ( ) const
inline

Definition at line 56 of file mlConstantString.h.

Referenced by ml::ConstantString::operator==().

◆ incRefCount()

void ml::ConstantStringValue::incRefCount ( ) const
inline

Friends And Related Symbol Documentation

◆ ConstantString

friend class ConstantString
friend

Definition at line 33 of file mlConstantString.h.


The documentation for this class was generated from the following file: