libE57Format 3.1.1
C++ library to read & write the E57 file format for point cloud data
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
e57::Utilities Namespace Reference

Functions

E57_DLL std::string errorCodeToString (ErrorCode ecode) noexcept
 Get short string description of an E57 ErrorCode.
 
void getVersions (int &astmMajor, int &astmMinor, std::string &libraryId)
 

Function Documentation

◆ errorCodeToString()

std::string e57::Utilities::errorCodeToString ( ErrorCode  ecode)
noexcept

Get short string description of an E57 ErrorCode.

Parameters
[in]ecodeThe numeric errorCode from an E57Exception.

The errorCode is translated into a one-line English string.

Returns
English std::string describing error.
Exceptions
NoE57Exceptions.
See also
E57Exception::errorCode

◆ getVersions()

E57_DLL void e57::Utilities::getVersions ( int &  astmMajor,
int &  astmMinor,
std::string &  libraryId 
)
Parameters
[out]astmMajorThe major version number of the ASTM E57 standard supported.
[out]astmMinorThe minor version number of the ASTM E57 standard supported.
[out]libraryIdA string identifying the implementation of the API.

Since the E57 implementation may be dynamically linked underneath the API, the version string for the implementation and the ASTM version that it supports can't be determined at compile-time. This function returns these identifiers from the underlying implementation.

Exceptions
NoE57Exceptions.
Deprecated:
Will be removed in 4.0. Use Version::get() or other functions in the Version namespace.