Numeric formatting function.
More...
#include <FormatNumber.h>
|
Methods related to instantiation and destruction.
|
void | setFallbackValue (const std::string &v) |
|
const std::string & | getFallbackValue () const |
|
std::string | m_fallbackValue |
| The value of the fallbackValue attribute is used as a default value, if the SE implementation does not support the function. If the implementation supports the function, then the result value is determined by executing the function. (Mandatory) More...
|
|
Numeric formatting function.
Function for formatting numbers to make them human readable. One of the most needed is a function for formatting numbers to make them human readable. You need such a function whenever a TextSymbolizer is employed to output a numeric property value.
- See also
- Function, ParameterValue
Definition at line 52 of file FormatNumber.h.
◆ ReturnType
◆ VisitorType
◆ FormatNumber() [1/2]
te::se::FormatNumber::FormatNumber |
( |
| ) |
|
◆ ~FormatNumber()
te::se::FormatNumber::~FormatNumber |
( |
| ) |
|
◆ FormatNumber() [2/2]
te::se::FormatNumber::FormatNumber |
( |
const FormatNumber & |
rhs | ) |
|
|
private |
No copy constructor allowed.
- Parameters
-
◆ accept()
It call the visit method from the guest object.
- Parameters
-
guest | The guest or visitor. |
- Returns
- Any valid value define by the template type R.
◆ clone()
virtual Expression * te::fe::Expression::clone |
( |
| ) |
const |
|
pure virtualinherited |
◆ getFallbackValue()
const std::string & te::se::Function::getFallbackValue |
( |
| ) |
const |
|
inherited |
◆ operator=()
No assignment operator allowed.
- Parameters
-
- Returns
- A reference for this.
◆ setDecimalPoint()
void te::se::FormatNumber::setDecimalPoint |
( |
const std::string & |
dp | ) |
|
◆ setFallbackValue()
void te::se::Function::setFallbackValue |
( |
const std::string & |
v | ) |
|
|
inherited |
◆ setGroupingSeparator()
void te::se::FormatNumber::setGroupingSeparator |
( |
const std::string & |
gs | ) |
|
◆ setNegativePattern()
void te::se::FormatNumber::setNegativePattern |
( |
const std::string & |
np | ) |
|
◆ setNumericValue()
◆ setPattern()
void te::se::FormatNumber::setPattern |
( |
const std::string & |
p | ) |
|
◆ m_decimalPoint
std::string te::se::FormatNumber::m_decimalPoint |
|
private |
◆ m_fallbackValue
std::string te::se::Function::m_fallbackValue |
|
protectedinherited |
The value of the fallbackValue attribute is used as a default value, if the SE implementation does not support the function. If the implementation supports the function, then the result value is determined by executing the function. (Mandatory)
Definition at line 88 of file Function.h.
◆ m_groupingSeparator
std::string te::se::FormatNumber::m_groupingSeparator |
|
private |
◆ m_negativePattern
std::string te::se::FormatNumber::m_negativePattern |
|
private |
◆ m_numericValue
◆ m_pattern
std::string te::se::FormatNumber::m_pattern |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/se/FormatNumber.h