Identifier container used to reference specific persistent object instance. More...
#include <mi32/identifier.h>
Public Member Functions | |
| IDENTIFIER (const char *codestr) | |
| IDENTIFIER (CODESPACE codespace, const char *codestr) | |
| IDENTIFIER (CODESPACE codespace, INT32 codenum) | |
| IDENTIFIER () | |
| ~IDENTIFIER () | |
| ERRVALUE | Assign (const UINT8 *codestr) |
| ERRVALUE | Assign (const char *codestr) |
| ERRVALUE | CreateFromXML (const XMLNODE *xmlnode) |
| CODESPACE | GetCodespace () const |
| MISTRING | GetFullStr () const |
| INT32 | GetNum () const |
| const STRUTF8 & | GetStr () const |
| IDENTIFIER & | operator= (const char *codestr) |
| void | Set (CODESPACE codespace, const char *code) |
| void | Set (CODESPACE codespace, INT32 num) |
Identifier container used to reference specific persistent object instance.
| IDENTIFIER::IDENTIFIER | ( | ) |
Default constructor.
| IDENTIFIER::IDENTIFIER | ( | CODESPACE | codespace, | |
| const char * | codestr | |||
| ) |
Construct using string code in specified codespace.
If string contains a single integer value it will be converted to a number.
| IDENTIFIER::IDENTIFIER | ( | const char * | codestr | ) |
Construct using string code.
If string contains a single integer value it will be converted to a number.
| IDENTIFIER::~IDENTIFIER | ( | ) |
Destructor.
Assign from string code.
If string contains a single integer value it will be converted to a number.
| codestr | Code string in form "codespacename:code", UTF8 encoding |
| ERRVALUE IDENTIFIER::Assign | ( | const char * | codestr | ) |
Assign from string code.
If string contains a single integer value it will be converted to a number.
| codestr | Code string in form "codespacename:code", Latin1 encoding |
Create identifier from XML node.
Node must be in the form: <nodename>codespacename:code</nodename> The nodename itself is not relevent. If the codespace is not specified the CODESPACE_MicroImages will be used.
| CODESPACE IDENTIFIER::GetCodespace | ( | ) | const |
Get codespace enumeration.
| MISTRING IDENTIFIER::GetFullStr | ( | ) | const |
Get full identifier string in form "codespace:id".
| INT32 IDENTIFIER::GetNum | ( | ) | const |
Get code number.
| const STRUTF8& IDENTIFIER::GetStr | ( | ) | const |
Get code string.
| IDENTIFIER& IDENTIFIER::operator= | ( | const char * | codestr | ) |
Assign from string code.
If string contains a single integer value it will be converted to a number.
| codestr | Code string in form "codespacename:code", Latin1 encoding |
| void IDENTIFIER::Set | ( | CODESPACE | codespace, | |
| const char * | code | |||
| ) |
Set codespace and string code.
1.6.1