#include <daeStringRef.h>
Public Member Functions | |
DLLSPEC | daeStringRef (daeString string) |
daeStringRef (const daeStringRef &other) | |
daeStringRef () | |
operator daeString () const | |
DLLSPEC const daeStringRef & | operator= (daeString string) |
const daeStringRef & | operator= (const daeStringRef &other) |
bool | operator== (const daeStringRef &other) const |
DLLSPEC const daeStringRef & | set (daeString string) |
~daeStringRef () | |
Static Public Member Functions | |
static void | releaseStringTable (void) |
Static Private Member Functions | |
static daeStringTable & | _stringTable () |
Private Attributes | |
daeString | _string |
Defines the daeStringRef
class.
Definition at line 18 of file daeStringRef.h.
daeStringRef::~daeStringRef | ( | ) | [inline] |
Destructor
Definition at line 33 of file daeStringRef.h.
daeStringRef::daeStringRef | ( | ) | [inline] |
Constructor
Definition at line 38 of file daeStringRef.h.
daeStringRef::daeStringRef | ( | const daeStringRef & | other | ) | [inline] |
Constructor that copies from another daeStringRef
.
other | Reference to copy from. |
Definition at line 44 of file daeStringRef.h.
DLLSPEC daeStringRef::daeStringRef | ( | daeString | string | ) |
Constructor that creates from a const char *.
string | External string to create from. |
static daeStringTable& daeStringRef::_stringTable | ( | ) | [static, private] |
daeStringRef::operator daeString | ( | ) | const [inline] |
Cast operator that returns a const char *.
Definition at line 80 of file daeStringRef.h.
DLLSPEC const daeStringRef& daeStringRef::operator= | ( | daeString | string | ) |
Assignment operator from an external const char *.
string | The daeString to copy. |
const daeStringRef& daeStringRef::operator= | ( | const daeStringRef & | other | ) | [inline] |
Assignment operator.
other | The daeStringRef to copy. |
Definition at line 58 of file daeStringRef.h.
bool daeStringRef::operator== | ( | const daeStringRef & | other | ) | const [inline] |
Comparison operator, the comparison is done via pointers as both strings will have same pointer if they are the same address
other | The daeStringRef to compare |
Definition at line 88 of file daeStringRef.h.
static void daeStringRef::releaseStringTable | ( | void | ) | [static] |
Release string table...
DLLSPEC const daeStringRef& daeStringRef::set | ( | daeString | string | ) |
Sets a string from an external const char *.
string | The daeString to copy. |
daeString daeStringRef::_string [private] |
Macro that defines new and delete overrides for this class
Definition at line 26 of file daeStringRef.h.