nidas  v1.2-1520
Public Member Functions | Public Attributes | List of all members
nidas::core::NidasApp::IdFormat Class Reference

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)
 
IdFormatsetDecimalWidth (int width)
 
IdFormatoperator= (const IdFormat &right)
 
int decimalWidth ()
 
id_format_t idFormat ()
 
bool unset ()
 

Public Attributes

id_format_t _idFormat
 
int _width
 

Detailed Description

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.

Constructor & Destructor Documentation

nidas::core::NidasApp::IdFormat::IdFormat ( id_format_t  idfmt = NOFORMAT_ID)
inline
nidas::core::NidasApp::IdFormat::IdFormat ( const IdFormat right)
inline

Member Function Documentation

int nidas::core::NidasApp::IdFormat::decimalWidth ( )
inline
id_format_t nidas::core::NidasApp::IdFormat::idFormat ( )
inline
IdFormat& nidas::core::NidasApp::IdFormat::operator= ( const IdFormat right)
inline
IdFormat& nidas::core::NidasApp::IdFormat::setDecimalWidth ( int  width)
inline

References _width.

bool nidas::core::NidasApp::IdFormat::unset ( )
inline

Member Data Documentation

id_format_t nidas::core::NidasApp::IdFormat::_idFormat
int nidas::core::NidasApp::IdFormat::_width

The documentation for this class was generated from the following file: