NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
mu::ParserInt::change_dec_sep< TChar > Class Template Reference

A facet class used to change decimal and thousands separator. More...

Inheritance diagram for mu::ParserInt::change_dec_sep< TChar >:
Collaboration diagram for mu::ParserInt::change_dec_sep< TChar >:

Public Member Functions

 change_dec_sep (char_type cDecSep, char_type cThousandsSep=0, int nGroup=3)
 

Protected Member Functions

virtual char_type do_decimal_point () const
 
virtual char_type do_thousands_sep () const
 
virtual std::string do_grouping () const
 

Private Attributes

int m_nGroup
 
char_type m_cDecPoint
 
char_type m_cThousandsSep
 

Detailed Description

template<class TChar>
class mu::ParserInt::change_dec_sep< TChar >

A facet class used to change decimal and thousands separator.

Definition at line 88 of file muParserInt.h.

Constructor & Destructor Documentation

◆ change_dec_sep()

template<class TChar >
mu::ParserInt::change_dec_sep< TChar >::change_dec_sep ( char_type  cDecSep,
char_type  cThousandsSep = 0,
int  nGroup = 3 
)
inlineexplicit

Definition at line 92 of file muParserInt.h.

Member Function Documentation

◆ do_decimal_point()

template<class TChar >
virtual char_type mu::ParserInt::change_dec_sep< TChar >::do_decimal_point ( ) const
inlineprotectedvirtual

◆ do_grouping()

template<class TChar >
virtual std::string mu::ParserInt::change_dec_sep< TChar >::do_grouping ( ) const
inlineprotectedvirtual

Definition at line 111 of file muParserInt.h.

References mu::ParserInt::change_dec_sep< TChar >::m_nGroup.

◆ do_thousands_sep()

template<class TChar >
virtual char_type mu::ParserInt::change_dec_sep< TChar >::do_thousands_sep ( ) const
inlineprotectedvirtual

Member Data Documentation

◆ m_cDecPoint

template<class TChar >
char_type mu::ParserInt::change_dec_sep< TChar >::m_cDecPoint
private

◆ m_cThousandsSep

template<class TChar >
char_type mu::ParserInt::change_dec_sep< TChar >::m_cThousandsSep
private

◆ m_nGroup

template<class TChar >
int mu::ParserInt::change_dec_sep< TChar >::m_nGroup
private

Definition at line 118 of file muParserInt.h.

Referenced by mu::ParserInt::change_dec_sep< TChar >::do_grouping().


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