#include <sexpress.hpp>
Inheritance diagram for SExpressionString:
The class represents a string constant. Note the library doesn't support character vectors. That is, the string constant is considered atomic constant in all sences.
Definition at line 353 of file sexpress.hpp.
Public Member Functions | |
SExpressionString () | |
SExpressionString (const char *s) | |
SExpressionString (const char *s1, const char *s2) | |
Concatenating constructor. | |
const char * | GetValue () const |
virtual SString | TextRepresentation () const |
const IntelibTypeId & | TermType () const |
Actual S-expression type. | |
bool | IsChangeable () const |
Can it be changed during the lifetime of the object? | |
virtual SExpression * | Clone () const |
Clone a changeable object. | |
Static Public Attributes | |
static IntelibTypeId | TypeId |
Identifier for the set of all possible S-expressions. | |
Protected Member Functions | |
SExpressionString (const IntelibTypeId &tid, const char *s) | |
Protected. | |
~SExpressionString () | |
virtual bool | SpecificEql (const SExpression *other) const |
Are the two objects EQL (while not EQ). | |
bool | CanDie () |
Is it OK to delete the object now? |
|
Definition at line 369 of file sexpress.hpp. References TypeId. |
|
|
|
Concatenating constructor. This form of the constructor builds concatenation of the two strings |
|
Protected. This form of the constructor is intended for derived classes |
|
Definition at line 223 of file sexpress.cpp. |
|
Definition at line 384 of file sexpress.hpp. Referenced by SExpressionExtvarname::TextRepresentation(). |
|
The representation includes double quotes. All special characters are converted to standard C string escapes Implements SExpression. Reimplemented in SExpressionClassicAtom. |
|
Are the two objects EQL (while not EQ). This function is overriden by those SExpressions able to be EQL while being not EQ.
Reimplemented from SExpression. |
|
Actual S-expression type.
Definition at line 195 of file sexpress.hpp. Referenced by SReference::DynamicCastGetPtr(), SchReference::IsEql(), LReference::IsEql(), SReference::SimpleCastGetPtr(), SchReference::TextRepresentation(), and LReference::TextRepresentation(). |
|
Can it be changed during the lifetime of the object?
Definition at line 198 of file sexpress.hpp. References IntelibTypeId::IsChangeable(). |
|
Clone a changeable object. The method should return the pointer created with new
Reimplemented in SExpressionBacklink, SExpressionCons, SExpressionHashTable, SExpressionRawBuffer, and SExpressionVector. Definition at line 214 of file sexpress.hpp. |
|
Is it OK to delete the object now? Our children have no access to the private attribute RefCount and should never need it except when checking if the destruction is not an error. This solves the problem. Definition at line 53 of file refcount.hpp. |
|
Identifier for the set of all possible S-expressions.
Reimplemented from SExpression. Reimplemented in SExpressionClassicAtom, and SExpressionExtvarname. Referenced by SExpressionString(). |