nidas
v1.2-1520
|
An IdFormat specifies the format for the SPS ID plus other characteristics, like the width when using decimal format. More...
#include <NidasApp.h>
Public Member Functions | |
IdFormat (id_format_t idfmt=NOFORMAT_ID) | |
IdFormat (const IdFormat &right) | |
IdFormat & | setDecimalWidth (int width) |
IdFormat & | operator= (const IdFormat &right) |
int | decimalWidth () |
id_format_t | idFormat () |
bool | unset () |
Public Attributes | |
id_format_t | _idFormat |
int | _width |
An IdFormat specifies the format for the SPS ID plus other characteristics, like the width when using decimal format.
A width of zero means use an existing setting, if any, otherwise use the default.
|
inline |
|
inline |
|
inline |
References _width.
Referenced by nidas::core::NidasApp::formatSampleId(), and DumpClient::printHeader().
|
inline |
References _idFormat, nidas::core::NidasApp::AUTO_ID, and nidas::core::NidasApp::NOFORMAT_ID.
Referenced by nidas::core::NidasApp::formatSampleId().
References _idFormat, _width, and nidas::core::NidasApp::NOFORMAT_ID.
|
inline |
References _idFormat, _width, and nidas::core::NidasApp::NOFORMAT_ID.
id_format_t nidas::core::NidasApp::IdFormat::_idFormat |
Referenced by idFormat(), operator=(), nidas::core::NidasApp::parseNext(), and unset().
int nidas::core::NidasApp::IdFormat::_width |
Referenced by decimalWidth(), operator=(), setDecimalWidth(), and unset().