OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
OPENTREP::NumSep Class Reference

#include <opentrep/basic/Utilities.hpp>

+ Inheritance diagram for OPENTREP::NumSep:

Protected Member Functions

virtual char do_thousands_sep () const
 
virtual std::string do_grouping () const
 

Detailed Description

Class implementing the separators for display of integers (rather than relying on the locale). See command/IndexBuilder::buildSearchIndex() for an example.

Definition at line 101 of file Utilities.hpp.

Member Function Documentation

◆ do_thousands_sep()

virtual char OPENTREP::NumSep::do_thousands_sep ( ) const
inlineprotectedvirtual

Separator character for the thousands

Definition at line 106 of file Utilities.hpp.

◆ do_grouping()

virtual std::string OPENTREP::NumSep::do_grouping ( ) const
inlineprotectedvirtual

Group numbers together

Definition at line 113 of file Utilities.hpp.


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