Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Member Functions | List of all members
ICUXalanNumberFormatProxy Class Reference

#include <ICUXalanNumberFormatProxy.hpp>

Inherits XalanNumberFormat.

Public Member Functions

 ICUXalanNumberFormatProxy (MemoryManager &theManager)
 
virtual ~ICUXalanNumberFormatProxy ()
 
virtual XalanDOMStringformat (double theValue, XalanDOMString &theResult)
 Format a number into a string. More...
 
virtual XalanDOMStringformat (int theValue, XalanDOMString &theResult)
 Format a number into a string. More...
 
virtual XalanDOMStringformat (unsigned int theValue, XalanDOMString &theResult)
 Format a number into a string. More...
 
virtual XalanDOMStringformat (long theValue, XalanDOMString &theResult)
 Format a number into a string. More...
 
virtual XalanDOMStringformat (unsigned long theValue, XalanDOMString &theResult)
 Format a number into a string. More...
 
virtual XalanDOMStringformat (XALAN_INT64 theValue, XalanDOMString &theResult)
 Format a number into a string. More...
 
virtual XalanDOMStringformat (XALAN_UINT64 theValue, XalanDOMString &theResult)
 Format a number into a string. More...
 
virtual bool isGroupingUsed () const
 Whether groupings are used for numbers, for example, "234,678". More...
 
virtual void setGroupingUsed (bool bUsed)
 Change whether groupings are used for numbers, for example, "234,678". More...
 
virtual void setGroupingSize (unsigned long size)
 Change the size of groupings, for example, "234,678" uses a size of "3". More...
 
virtual void setGroupingSeparator (const XalanDOMString &s)
 Change the separator string used for groupings, for example, "234,678" uses the separator ",". More...
 
- Public Member Functions inherited from XalanNumberFormat
 XalanNumberFormat (MemoryManager &theManager)
 
virtual ~XalanNumberFormat ()
 
MemoryManager & getMemoryManager ()
 

Additional Inherited Members

- Static Public Member Functions inherited from XalanNumberFormat
static XalanNumberFormatcreate (MemoryManager &theManager)
 
- Protected Member Functions inherited from XalanNumberFormat
void applyGrouping (const XalanDOMString &value, XalanDOMString &result)
 

Detailed Description

Definition at line 42 of file ICUXalanNumberFormatProxy.hpp.

Constructor & Destructor Documentation

◆ ICUXalanNumberFormatProxy()

ICUXalanNumberFormatProxy::ICUXalanNumberFormatProxy ( MemoryManager &  theManager)
explicit

◆ ~ICUXalanNumberFormatProxy()

virtual ICUXalanNumberFormatProxy::~ICUXalanNumberFormatProxy ( )
virtual

Member Function Documentation

◆ format() [1/7]

virtual XalanDOMString& ICUXalanNumberFormatProxy::format ( double  theValue,
XalanDOMString theResult 
)
virtual

Format a number into a string.

Parameters
theValuenumber to format
Returns
string representation of number

Reimplemented from XalanNumberFormat.

◆ format() [2/7]

virtual XalanDOMString& ICUXalanNumberFormatProxy::format ( int  theValue,
XalanDOMString theResult 
)
virtual

Format a number into a string.

Parameters
theValuenumber to format
Returns
string representation of number

Reimplemented from XalanNumberFormat.

◆ format() [3/7]

virtual XalanDOMString& ICUXalanNumberFormatProxy::format ( unsigned int  theValue,
XalanDOMString theResult 
)
virtual

Format a number into a string.

Parameters
theValuenumber to format
theResultthe string result

Reimplemented from XalanNumberFormat.

◆ format() [4/7]

virtual XalanDOMString& ICUXalanNumberFormatProxy::format ( long  theValue,
XalanDOMString theResult 
)
virtual

Format a number into a string.

Parameters
theValuenumber to format
Returns
string representation of number

Reimplemented from XalanNumberFormat.

◆ format() [5/7]

virtual XalanDOMString& ICUXalanNumberFormatProxy::format ( unsigned long  theValue,
XalanDOMString theResult 
)
virtual

Format a number into a string.

Parameters
theValuenumber to format
theResultthe string result

Reimplemented from XalanNumberFormat.

◆ format() [6/7]

virtual XalanDOMString& ICUXalanNumberFormatProxy::format ( XALAN_INT64  theValue,
XalanDOMString theResult 
)
virtual

Format a number into a string.

Parameters
theValuenumber to format
theResultthe string result

Reimplemented from XalanNumberFormat.

◆ format() [7/7]

virtual XalanDOMString& ICUXalanNumberFormatProxy::format ( XALAN_UINT64  theValue,
XalanDOMString theResult 
)
virtual

Format a number into a string.

Parameters
theValuenumber to format
theResultthe string result

Reimplemented from XalanNumberFormat.

◆ isGroupingUsed()

virtual bool ICUXalanNumberFormatProxy::isGroupingUsed ( ) const
virtual

Whether groupings are used for numbers, for example, "234,678".

Returns
true if grouping used

Reimplemented from XalanNumberFormat.

◆ setGroupingSeparator()

virtual void ICUXalanNumberFormatProxy::setGroupingSeparator ( const XalanDOMString s)
virtual

Change the separator string used for groupings, for example, "234,678" uses the separator ",".

Parameters
sgrouping separator string

Reimplemented from XalanNumberFormat.

◆ setGroupingSize()

virtual void ICUXalanNumberFormatProxy::setGroupingSize ( unsigned long  size)
virtual

Change the size of groupings, for example, "234,678" uses a size of "3".

Parameters
sizethe grouping size

Reimplemented from XalanNumberFormat.

◆ setGroupingUsed()

virtual void ICUXalanNumberFormatProxy::setGroupingUsed ( bool  bUsed)
virtual

Change whether groupings are used for numbers, for example, "234,678".

Parameters
bUsedtrue to use grouping

Reimplemented from XalanNumberFormat.


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

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo