E57 Foundation API v1.1.312  Aug. 10, 2011
void elementNameParse ( const ustring elementName,
ustring prefix,
ustring localPart 
) const

Parse element name into prefix and localPart substrings.

Parameters:
[in]elementNameThe string element name to parse into prefix and local parts.
[out]prefixThe prefix (if any) in the elementName.
[out]localPartThe part of the element name after the prefix.

A legal element name may be in prefixed (ID:ID) or unprefixed (ID) form, where ID is a string whose first character is in {a-z,A-Z,_} followed by zero or more characters in {a-z,A-Z,_,0-9,-,.}. If in prefixed form, the prefix does not have to be declared in the ImageFile.

Postcondition:
No visible state is modified.
Exceptions:
E57_ERROR_BAD_PATH_NAME
E57_ERROR_INTERNALAll objects in undocumented state
See also:
NameParse.cpp example, ImageFile::isElementNameExtended
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines