Helper class which can split XMLIDs strings into tokens. More...
#include <XMLID.h>
Public Member Functions | |
CXMLID () | |
Constructor. More... | |
bool | FromString (const GENICAM_NAMESPACE::gcstring &XMLID) |
Parses the XML ID. More... | |
GENICAM_DEPRECATED (static const char *GetTokenSeperator()) | |
returns the token separator string More... | |
GENICAM_NAMESPACE::gcstring | GetDeviceIDTemplate () const |
retrieves the schema version of the XML file More... | |
CVersion | GetDeviceVersion () const |
retrieves the schema version of the XML file More... | |
CVersion | GetSchemaVersion () const |
retrieves the schema version of the XML file More... | |
bool | operator> (CXMLID &XMLID) |
Comparison (for sorting) More... | |
GENICAM_NAMESPACE::gcstring | ToString () |
Returns the original XML ID. More... | |
Static Public Member Functions | |
static const char * | GetTokenSeparator () |
returns the token separator string More... | |
Private Types | |
enum | EXMLIDIndex { xidSchemaVersion = 0, xidDeviceIDTemplate = 1, xidDeviceVersion = 2 } |
The positions of the tokens within the XMLID string. More... | |
Private Attributes | |
GENICAM_NAMESPACE::gcstring | m_DeviceIDTemplate |
The middle part of the XML ID. More... | |
CVersion | m_DeviceVersion |
The last part of the XML ID. More... | |
CVersion | m_SchemaVersion |
The first part of the XML ID. More... | |
GENICAM_NAMESPACE::gcstring | m_XMLID |
The original string. More... | |
|
private |
CLProtocol::CXMLID::CXMLID | ( | ) |
Constructor.
bool CLProtocol::CXMLID::FromString | ( | const GENICAM_NAMESPACE::gcstring & | XMLID | ) |
Parses the XML ID.
CLProtocol::CXMLID::GENICAM_DEPRECATED | ( | static const char * | GetTokenSeperator() | ) |
returns the token separator string
Use CXMLID::GetTokenSeparator() instead.
GENICAM_NAMESPACE::gcstring CLProtocol::CXMLID::GetDeviceIDTemplate | ( | ) | const |
retrieves the schema version of the XML file
CVersion CLProtocol::CXMLID::GetDeviceVersion | ( | ) | const |
retrieves the schema version of the XML file
CVersion CLProtocol::CXMLID::GetSchemaVersion | ( | ) | const |
retrieves the schema version of the XML file
|
static |
returns the token separator string
bool CLProtocol::CXMLID::operator> | ( | CXMLID & | XMLID | ) |
Comparison (for sorting)
GENICAM_NAMESPACE::gcstring CLProtocol::CXMLID::ToString | ( | ) |
Returns the original XML ID.
|
private |
|
private |
|
private |
|
private |