Seamly2D
Code documentation
qmu::QmuParserBase::change_dec_sep< TChar > Class Template Reference

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

#include <qmuparserbase.h>

Inheritance diagram for qmu::QmuParserBase::change_dec_sep< TChar >:
Collaboration diagram for qmu::QmuParserBase::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 Q_DECL_OVERRIDE
 
virtual char_type do_thousands_sep () const Q_DECL_OVERRIDE
 
virtual std::string do_grouping () const Q_DECL_OVERRIDE
 

Private Attributes

int m_nGroup
 
char_type m_cDecPoint
 
char_type m_cThousandsSep
 

Detailed Description

template<class TChar>
class qmu::QmuParserBase::change_dec_sep< TChar >

A facet class used to change decimal and thousands separator.

Definition at line 152 of file qmuparserbase.h.

Constructor & Destructor Documentation

◆ change_dec_sep()

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

Definition at line 155 of file qmuparserbase.h.

Member Function Documentation

◆ do_decimal_point()

template<class TChar >
virtual char_type qmu::QmuParserBase::change_dec_sep< TChar >::do_decimal_point ( ) const
inlineprotectedvirtual

◆ do_grouping()

template<class TChar >
virtual std::string qmu::QmuParserBase::change_dec_sep< TChar >::do_grouping ( ) const
inlineprotectedvirtual

◆ do_thousands_sep()

template<class TChar >
virtual char_type qmu::QmuParserBase::change_dec_sep< TChar >::do_thousands_sep ( ) const
inlineprotectedvirtual

Member Data Documentation

◆ m_cDecPoint

template<class TChar >
char_type qmu::QmuParserBase::change_dec_sep< TChar >::m_cDecPoint
private

◆ m_cThousandsSep

◆ m_nGroup

template<class TChar >
int qmu::QmuParserBase::change_dec_sep< TChar >::m_nGroup
private

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