| Puma Reference Manual | Puma: Puma::CT_String Class Reference |
#include <Puma/CTree.h>

Example:
"abc"
Public Member Functions | |
| CT_String (int size) | |
| Constructor. | |
| const char * | NodeName () const |
| Get the name of the node. | |
| CTypeInfo * | Type () const |
| Get the type of the string. | |
| CExprValue * | Value () const |
| Get the string value. | |
| CSemValue * | SemValue () const |
| Get the semantic value info object. | |
| virtual CT_String * | IsString () |
| Get this. | |
Static Public Member Functions | |
| static const char * | NodeId () |
| Get the identifier for this node type. | |
| Puma::CT_String::CT_String | ( | int | size | ) | [inline] |
Constructor.
| size | The number of sub-strings. |
| static const char* Puma::CT_String::NodeId | ( | ) | [static] |
Get the identifier for this node type.
Can be compared with NodeName().
Reimplemented in Puma::CT_WideString.
| const char* Puma::CT_String::NodeName | ( | ) | const [inline, virtual] |
Get the name of the node.
Can be compared with NodeId().
Implements Puma::CTree.
Reimplemented in Puma::CT_WideString.
| CTypeInfo* Puma::CT_String::Type | ( | ) | const [inline, virtual] |
| CExprValue* Puma::CT_String::Value | ( | ) | const [inline, virtual] |
| CSemValue* Puma::CT_String::SemValue | ( | ) | const [inline, virtual] |
Get the semantic value info object.
Reimplemented from Puma::CTree.
| virtual CT_String* Puma::CT_String::IsString | ( | ) | [inline, virtual] |