Xalan-C++ API Reference  1.12.0
Public Member Functions | List of all members
xalanc::XalanDecimalFormatSymbols Class Reference

#include <xalanc/PlatformSupport/XalanDecimalFormatSymbols.hpp>

Public Member Functions

 XalanDecimalFormatSymbols (MemoryManager &theManager)
 
 XalanDecimalFormatSymbols (const XalanDecimalFormatSymbols &theSource, MemoryManager &theManager)
 
 ~XalanDecimalFormatSymbols ()
 
XalanDecimalFormatSymbolsoperator= (const XalanDecimalFormatSymbols &theRHS)
 
const XalanDOMStringgetCurrencySymbol () const
 Retrieve the string denoting the local currency, "$", for example. More...
 
XalanDOMChar getDecimalSeparator () const
 Retrieve the character used for decimal sign, '. More...
 
XalanDOMChar getDigit () const
 Retrieve character used for a digit in a pattern. More...
 
XalanDOMChar getGroupingSeparator () const
 Retrieve the character used for thousands separator, "," for example. More...
 
const XalanDOMStringgetInfinity () const
 Retrieve the string used to represent infinity. More...
 
const XalanDOMStringgetInternationalCurrencySymbol () const
 Retrieve the international string denoting the local currency. More...
 
XalanDOMChar getMinusSign () const
 Retrieve the character used to represent minus sign. More...
 
XalanDOMChar getMonetaryDecimalSeparator () const
 Retrieve the monetary decimal separator. More...
 
const XalanDOMStringgetNaN () const
 Retrieve the string used for a numeric value that cannot be represented as a number. More...
 
XalanDOMChar getPatternSeparator () const
 Retrieve the character used to separate positive and negative subpatterns in a pattern. More...
 
XalanDOMChar getPercent () const
 Retrieve the character used for percent sign, "%," for example. More...
 
XalanDOMChar getPerMill () const
 Retrieve the character used for per thousand sign. More...
 
XalanDOMChar getZeroDigit () const
 Retrieve the character used for zero. More...
 
void setCurrencySymbol (const XalanDOMString &theCurrencySymbol)
 Sets the string denoting the local currency, "$", for example. More...
 
void setCurrencySymbol (const XalanDOMChar *theCurrencySymbol)
 Sets the string denoting the local currency, "$", for example. More...
 
void setDecimalSeparator (XalanDOMChar theDecimalSeparator)
 Sets the character used for decimal sign, '. More...
 
void setDigit (XalanDOMChar theDigit)
 Sets the character used for a digit in a pattern. More...
 
void setGroupingSeparator (XalanDOMChar theGroupingSeparator)
 Sets the character used for thousands separator, "," for example. More...
 
void setInfinity (const XalanDOMString &theInfinity)
 Sets the string used to represent infinity. More...
 
void setInfinity (const XalanDOMChar *theInfinity)
 Sets the string used to represent infinity. More...
 
void setInternationalCurrencySymbol (const XalanDOMString &theInternationalCurrencySymbol)
 Sets the international string denoting the local currency. More...
 
void setInternationalCurrencySymbol (const XalanDOMChar *theInternationalCurrencySymbol)
 Sets the international string denoting the local currency. More...
 
void setMinusSign (XalanDOMChar theMinusSign)
 Sets the character used to represent minus sign. More...
 
void setMonetaryDecimalSeparator (XalanDOMChar theMonetaryDecimalSeparator)
 Sets the monetary decimal separator. More...
 
void setNaN (const XalanDOMString &theNaN)
 Sets the string used for a numeric value that cannot be represented as a number. More...
 
void setNaN (const XalanDOMChar *theNaN)
 Sets the string used for a numeric value that cannot be represented as a number. More...
 
void setPatternSeparator (XalanDOMChar thePatternSeparator)
 Sets the character used to separate positive and negative subpatterns in a pattern. More...
 
void setPercent (XalanDOMChar thePercent)
 Sets the character used for percent sign, "%," for example. More...
 
void setPerMill (XalanDOMChar thePerMill)
 Sets the character used for per thousand sign. More...
 
void setZeroDigit (XalanDOMChar theZeroDigit)
 Sets the character used for zero. More...
 
bool operator== (const XalanDecimalFormatSymbols &theRHS) const
 
bool operator!= (const XalanDecimalFormatSymbols &theRHS) const
 

Detailed Description

Definition at line 40 of file XalanDecimalFormatSymbols.hpp.

Constructor & Destructor Documentation

◆ XalanDecimalFormatSymbols() [1/2]

xalanc::XalanDecimalFormatSymbols::XalanDecimalFormatSymbols ( MemoryManager &  theManager)
explicit

◆ XalanDecimalFormatSymbols() [2/2]

xalanc::XalanDecimalFormatSymbols::XalanDecimalFormatSymbols ( const XalanDecimalFormatSymbols theSource,
MemoryManager &  theManager 
)

◆ ~XalanDecimalFormatSymbols()

xalanc::XalanDecimalFormatSymbols::~XalanDecimalFormatSymbols ( )

Member Function Documentation

◆ getCurrencySymbol()

const XalanDOMString& xalanc::XalanDecimalFormatSymbols::getCurrencySymbol ( ) const
inline

Retrieve the string denoting the local currency, "$", for example.

Returns
string used for local currency

Definition at line 64 of file XalanDecimalFormatSymbols.hpp.

◆ getDecimalSeparator()

XalanDOMChar xalanc::XalanDecimalFormatSymbols::getDecimalSeparator ( ) const
inline

Retrieve the character used for decimal sign, '.

' for example

Returns
character used for decimal sign

Definition at line 75 of file XalanDecimalFormatSymbols.hpp.

◆ getDigit()

XalanDOMChar xalanc::XalanDecimalFormatSymbols::getDigit ( ) const
inline

Retrieve character used for a digit in a pattern.

Returns
character used for a digit in a pattern

Definition at line 86 of file XalanDecimalFormatSymbols.hpp.

◆ getGroupingSeparator()

XalanDOMChar xalanc::XalanDecimalFormatSymbols::getGroupingSeparator ( ) const
inline

Retrieve the character used for thousands separator, "," for example.

Returns
character used for thousands separator

Definition at line 97 of file XalanDecimalFormatSymbols.hpp.

◆ getInfinity()

const XalanDOMString& xalanc::XalanDecimalFormatSymbols::getInfinity ( ) const
inline

Retrieve the string used to represent infinity.

Returns
string used to represent infinity

Definition at line 108 of file XalanDecimalFormatSymbols.hpp.

◆ getInternationalCurrencySymbol()

const XalanDOMString& xalanc::XalanDecimalFormatSymbols::getInternationalCurrencySymbol ( ) const
inline

Retrieve the international string denoting the local currency.

Returns
international string denoting the local currency

Definition at line 119 of file XalanDecimalFormatSymbols.hpp.

◆ getMinusSign()

XalanDOMChar xalanc::XalanDecimalFormatSymbols::getMinusSign ( ) const
inline

Retrieve the character used to represent minus sign.

Returns
character used to represent minus sign

Definition at line 130 of file XalanDecimalFormatSymbols.hpp.

◆ getMonetaryDecimalSeparator()

XalanDOMChar xalanc::XalanDecimalFormatSymbols::getMonetaryDecimalSeparator ( ) const
inline

Retrieve the monetary decimal separator.

Returns
character used to separate decimal portion of currency

Definition at line 141 of file XalanDecimalFormatSymbols.hpp.

◆ getNaN()

const XalanDOMString& xalanc::XalanDecimalFormatSymbols::getNaN ( ) const
inline

Retrieve the string used for a numeric value that cannot be represented as a number.

Returns
string representing "not a number" value

Definition at line 153 of file XalanDecimalFormatSymbols.hpp.

◆ getPatternSeparator()

XalanDOMChar xalanc::XalanDecimalFormatSymbols::getPatternSeparator ( ) const
inline

Retrieve the character used to separate positive and negative subpatterns in a pattern.

Returns
character used to separate positive and negative subpatterns

Definition at line 165 of file XalanDecimalFormatSymbols.hpp.

◆ getPercent()

XalanDOMChar xalanc::XalanDecimalFormatSymbols::getPercent ( ) const
inline

Retrieve the character used for percent sign, "%," for example.

Returns
character used for percent sign

Definition at line 176 of file XalanDecimalFormatSymbols.hpp.

◆ getPerMill()

XalanDOMChar xalanc::XalanDecimalFormatSymbols::getPerMill ( ) const
inline

Retrieve the character used for per thousand sign.

Returns
character used for per thousand sign

Definition at line 187 of file XalanDecimalFormatSymbols.hpp.

◆ getZeroDigit()

XalanDOMChar xalanc::XalanDecimalFormatSymbols::getZeroDigit ( ) const
inline

Retrieve the character used for zero.

Returns
character used for zero

Definition at line 198 of file XalanDecimalFormatSymbols.hpp.

◆ operator!=()

bool xalanc::XalanDecimalFormatSymbols::operator!= ( const XalanDecimalFormatSymbols theRHS) const
inline

Definition at line 409 of file XalanDecimalFormatSymbols.hpp.

References xalanc::operator==().

◆ operator=()

XalanDecimalFormatSymbols& xalanc::XalanDecimalFormatSymbols::operator= ( const XalanDecimalFormatSymbols theRHS)

◆ operator==()

bool xalanc::XalanDecimalFormatSymbols::operator== ( const XalanDecimalFormatSymbols theRHS) const

◆ setCurrencySymbol() [1/2]

void xalanc::XalanDecimalFormatSymbols::setCurrencySymbol ( const XalanDOMChar *  theCurrencySymbol)
inline

Sets the string denoting the local currency, "$", for example.

Parameters
theCurrencySymbolsymbol used for local currency

Definition at line 220 of file XalanDecimalFormatSymbols.hpp.

◆ setCurrencySymbol() [2/2]

void xalanc::XalanDecimalFormatSymbols::setCurrencySymbol ( const XalanDOMString theCurrencySymbol)
inline

Sets the string denoting the local currency, "$", for example.

Parameters
theCurrencySymbolsymbol used for local currency

Definition at line 209 of file XalanDecimalFormatSymbols.hpp.

◆ setDecimalSeparator()

void xalanc::XalanDecimalFormatSymbols::setDecimalSeparator ( XalanDOMChar  theDecimalSeparator)
inline

Sets the character used for decimal sign, '.

' for example

Parameters
theDecimalSeparatorcharacter used for decimal sign

Definition at line 233 of file XalanDecimalFormatSymbols.hpp.

◆ setDigit()

void xalanc::XalanDecimalFormatSymbols::setDigit ( XalanDOMChar  theDigit)
inline

Sets the character used for a digit in a pattern.

Parameters
theDigitcharacter used for a digit in a pattern

Definition at line 244 of file XalanDecimalFormatSymbols.hpp.

◆ setGroupingSeparator()

void xalanc::XalanDecimalFormatSymbols::setGroupingSeparator ( XalanDOMChar  theGroupingSeparator)
inline

Sets the character used for thousands separator, "," for example.

Parameters
theGroupingSeparatorcharacter used for thousands separator

Definition at line 255 of file XalanDecimalFormatSymbols.hpp.

◆ setInfinity() [1/2]

void xalanc::XalanDecimalFormatSymbols::setInfinity ( const XalanDOMChar *  theInfinity)
inline

Sets the string used to represent infinity.

Parameters
theInfinitystring used to represent infinity

Definition at line 277 of file XalanDecimalFormatSymbols.hpp.

◆ setInfinity() [2/2]

void xalanc::XalanDecimalFormatSymbols::setInfinity ( const XalanDOMString theInfinity)
inline

Sets the string used to represent infinity.

Parameters
theInfinitystring used to represent infinity

Definition at line 266 of file XalanDecimalFormatSymbols.hpp.

◆ setInternationalCurrencySymbol() [1/2]

void xalanc::XalanDecimalFormatSymbols::setInternationalCurrencySymbol ( const XalanDOMChar *  theInternationalCurrencySymbol)
inline

Sets the international string denoting the local currency.

Parameters
theInternationalCurrencySymbolinternational string denoting the local currency

Definition at line 303 of file XalanDecimalFormatSymbols.hpp.

◆ setInternationalCurrencySymbol() [2/2]

void xalanc::XalanDecimalFormatSymbols::setInternationalCurrencySymbol ( const XalanDOMString theInternationalCurrencySymbol)
inline

Sets the international string denoting the local currency.

Parameters
theInternationalCurrencySymbolinternational string denoting the local currency

Definition at line 291 of file XalanDecimalFormatSymbols.hpp.

◆ setMinusSign()

void xalanc::XalanDecimalFormatSymbols::setMinusSign ( XalanDOMChar  theMinusSign)
inline

Sets the character used to represent minus sign.

Parameters
theMinusSigncharacter used to represent minus sign

Definition at line 316 of file XalanDecimalFormatSymbols.hpp.

◆ setMonetaryDecimalSeparator()

void xalanc::XalanDecimalFormatSymbols::setMonetaryDecimalSeparator ( XalanDOMChar  theMonetaryDecimalSeparator)
inline

Sets the monetary decimal separator.

Parameters
theMonetaryDecimalSeparatorcharacter used to separate decimal portion of currency

Definition at line 328 of file XalanDecimalFormatSymbols.hpp.

◆ setNaN() [1/2]

void xalanc::XalanDecimalFormatSymbols::setNaN ( const XalanDOMChar *  theNaN)
inline

Sets the string used for a numeric value that cannot be represented as a number.

Parameters
theNaNstring representing "not a number" value

Definition at line 352 of file XalanDecimalFormatSymbols.hpp.

◆ setNaN() [2/2]

void xalanc::XalanDecimalFormatSymbols::setNaN ( const XalanDOMString theNaN)
inline

Sets the string used for a numeric value that cannot be represented as a number.

Parameters
theNaNstring representing "not a number" value

Definition at line 340 of file XalanDecimalFormatSymbols.hpp.

◆ setPatternSeparator()

void xalanc::XalanDecimalFormatSymbols::setPatternSeparator ( XalanDOMChar  thePatternSeparator)
inline

Sets the character used to separate positive and negative subpatterns in a pattern.

Parameters
thePatternSeparatorcharacter used to separate positive and negative subpatterns

Definition at line 367 of file XalanDecimalFormatSymbols.hpp.

◆ setPercent()

void xalanc::XalanDecimalFormatSymbols::setPercent ( XalanDOMChar  thePercent)
inline

Sets the character used for percent sign, "%," for example.

Parameters
thePercentcharacter used for percent sign

Definition at line 378 of file XalanDecimalFormatSymbols.hpp.

◆ setPerMill()

void xalanc::XalanDecimalFormatSymbols::setPerMill ( XalanDOMChar  thePerMill)
inline

Sets the character used for per thousand sign.

Parameters
thePerMillcharacter used for per thousand sign

Definition at line 389 of file XalanDecimalFormatSymbols.hpp.

◆ setZeroDigit()

void xalanc::XalanDecimalFormatSymbols::setZeroDigit ( XalanDOMChar  theZeroDigit)
inline

Sets the character used for zero.

Parameters
theZeroDigitcharacter used for zero

Definition at line 400 of file XalanDecimalFormatSymbols.hpp.


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