E57 Foundation API v1.1.312  Aug. 10, 2011
ustring extensionsPrefix ( const size_t  index) const

Get an E57 extension prefix declared in an ImageFile by index.

Parameters:
[in]indexThe index of the prefix to get, starting at 0.

The order that the prefixes are stored in is not necessarily the same as the order they were created. However the prefix order will correspond to the URI order. The default E57 namespace is not counted as an extension.

Precondition:
This ImageFile must be open (i.e. isOpen()).
0 <= index < extensionsCount()
Postcondition:
No visible state is modified.
Returns:
The E57 extension prefix at the given index.
Exceptions:
E57_ERROR_BAD_API_ARGUMENT
E57_ERROR_IMAGEFILE_NOT_OPEN
E57_ERROR_INTERNALAll objects in undocumented state
See also:
Extensions.cpp example, ImageFile::extensionsCount, ImageFile::extensionsUri
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines