ifw-core 7.0.0
 
Loading...
Searching...
No Matches
ifw::core::dit::did::FormatSpecifier Class Reference

class to handle the format specifier of a DID record. Format is: %[parameter][flags][width][.precision][length]type More...

#include <record.hpp>

Public Member Functions

 FormatSpecifier ()
 
 ~FormatSpecifier ()
 
void Reset ()
 Method to reset the object (reset the internal members).
 
void DecodeFormat (const std::string &did_format)
 

Public Attributes

std::string m_parameter
 
std::string m_flags
 
int8_t m_width {0}
 
int8_t m_precision {0}
 
std::string m_length
 
std::string m_type
 

Detailed Description

class to handle the format specifier of a DID record. Format is: %[parameter][flags][width][.precision][length]type

Constructor & Destructor Documentation

◆ FormatSpecifier()

ifw::core::dit::did::FormatSpecifier::FormatSpecifier ( )
inline

◆ ~FormatSpecifier()

ifw::core::dit::did::FormatSpecifier::~FormatSpecifier ( )
inline

Member Function Documentation

◆ DecodeFormat()

void ifw::core::dit::did::FormatSpecifier::DecodeFormat ( const std::string & did_format)

◆ Reset()

void ifw::core::dit::did::FormatSpecifier::Reset ( )
inline

Method to reset the object (reset the internal members).

Member Data Documentation

◆ m_flags

std::string ifw::core::dit::did::FormatSpecifier::m_flags

◆ m_length

std::string ifw::core::dit::did::FormatSpecifier::m_length

◆ m_parameter

std::string ifw::core::dit::did::FormatSpecifier::m_parameter

◆ m_precision

int8_t ifw::core::dit::did::FormatSpecifier::m_precision {0}

◆ m_type

std::string ifw::core::dit::did::FormatSpecifier::m_type

◆ m_width

int8_t ifw::core::dit::did::FormatSpecifier::m_width {0}

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