#include <Id.h>
Public Types |
|
| enum | Component { kStageId = 1, kNamespaceId = 2, kCopyId = 4 } |
Public Member Functions |
|
| Id () | |
| Id (const awString::IString &id) | |
| Id (const Id &id) | |
| ~Id () | |
| const awString::IString & | getFullId () const |
| bool | isEmpty () const |
| void | clear () |
| const awString::IString | getBaseId () const |
| bool | setBaseId (const awString::IString &baseId) |
| const awString::IString | getCopyId () const |
| bool | setCopyId (const awString::IString ©Id) |
| const awString::IString | getNamespaceId () const |
| bool | setNamespaceId (const awString::IString &namespaceId) |
| const awString::IString | getStageId () const |
| bool | setStageId (const awString::IString &namespaceId) |
| const awString::IString | getFormattedId (int componentsToExclude) const |
| operator const awString::IString & () const | |
| const char * | asUTF8 () const |
| const wchar_t * | asWChar () const |
| Id & | operator= (const awString::IString &fullId) |
| bool | operator== (const awString::IString &fullId) const |
| bool | operator== (const Id &id) const |
| bool | operator!= (const awString::IString &fullId) const |
| bool | operator!= (const Id &id) const |
| bool | operator< (const Id &id) const |
Static Public Member Functions |
|
| static const awString::IString & | getNamespaceSeparator () |
| static Id | incrementCopyId (const Id &id) |
Protected Member Functions |
|
| void | refreshIndices () const |
| void | composeFullId (const awString::IString &baseId, const awString::IString ©Id, const awString::IString &namespaceId, const awString::IString &stageId) |
Static Protected Member Functions |
|
| static int | getCopyIdStartIndex (const awString::IString &fromThisId) |
| static int | getNamespaceIdEndIndex (const awString::IString &fromThisId) |
| static int | getStageIdEndIndex (const awString::IString &fromThisId) |
| static bool | isNumeric (const awString::IString &string) |
| enum Component |
{
kStageId = 1
, kNamespaceId = 2
, kCopyId = 4
};
| Id | ( | ) |
| Id | ( | const awString::IString & | id | ) |
| ~Id | ( | ) |
| const awString::IString & getFullId | ( | ) | const [inline] |
{
return myFullId;
}
| bool isEmpty | ( | ) | const [inline] |
{
return myFullId.isEmpty();
}
| void clear | ( | ) | [inline] |
{
myFullId.erase();
myIndicesValid = false;
}
| const awString::IString getBaseId | ( | ) | const |
| bool setBaseId | ( | const awString::IString & | baseId | ) |
| const awString::IString getCopyId | ( | ) | const |
| bool setCopyId | ( | const awString::IString & | copyId | ) |
| const awString::IString getNamespaceId | ( | ) | const |
| bool setNamespaceId | ( | const awString::IString & | namespaceId | ) |
| const awString::IString getStageId | ( | ) | const |
| bool setStageId | ( | const awString::IString & | namespaceId | ) |
| const awString::IString getFormattedId | ( | int | componentsToExclude | ) | const |
| operator const awString::IString & | ( | ) | const [inline] |
{
return myFullId;
}
| const char * asUTF8 | ( | ) | const [inline] |
{
return myFullId.asUTF8();
}
| const wchar_t * asWChar | ( | ) | const [inline] |
{
return myFullId.asWChar();
}
| Id & operator= | ( | const awString::IString & | fullId | ) | [inline] |
{
myFullId = fullId;
myIndicesValid = false;
return *this;
}
| bool operator== | ( | const awString::IString & | fullId | ) | const [inline] |
{
return myFullId == fullId;
}
| bool operator== | ( | const Id & | id | ) | const [inline] |
{
return myFullId == id.myFullId;
}
| bool operator!= | ( | const awString::IString & | fullId | ) | const [inline] |
{
return myFullId != fullId;
}
| bool operator!= | ( | const Id & | id | ) | const [inline] |
{
return myFullId != id.myFullId;
}
| bool operator< | ( | const Id & | id | ) | const [inline] |
{
return myFullId < id.myFullId;
}
| static const awString::IString& getNamespaceSeparator | ( | ) | [static] |
| void refreshIndices | ( | ) | const [protected] |
| void composeFullId | ( | const awString::IString & | baseId, |
| const awString::IString & | copyId, | ||
| const awString::IString & | namespaceId, | ||
| const awString::IString & | stageId | ||
| ) | [protected] |
| static int getCopyIdStartIndex | ( | const awString::IString & | fromThisId | ) | [static, protected] |
| static int getNamespaceIdEndIndex | ( | const awString::IString & | fromThisId | ) | [static, protected] |
| static int getStageIdEndIndex | ( | const awString::IString & | fromThisId | ) | [static, protected] |
| static bool isNumeric | ( | const awString::IString & | string | ) | [static, protected] |