## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.9

Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

# ICUXalanNumberFormatProxy Class Reference

Inheritance diagram for ICUXalanNumberFormatProxy:

[legend]
Collaboration diagram for ICUXalanNumberFormatProxy:

[legend]
List of all members.

## Public Member Functions

- ICUXalanNumberFormatProxy (MemoryManagerType &theManager)
- virtual ~ICUXalanNumberFormatProxy ()
- virtual XalanDOMString & format (double theValue, XalanDOMString &theResult)
    Format a number into a string.
- virtual XalanDOMString & format (int theValue, XalanDOMString &theResult)
    Format a number into a string.
- virtual XalanDOMString & format (unsigned int theValue, XalanDOMString &theResult)
    Format a number into a string.
- virtual XalanDOMString & format (long theValue, XalanDOMString &theResult)
    Format a number into a string.
- virtual XalanDOMString & format (unsigned long theValue, XalanDOMString &theResult)
    Format a number into a string.
- virtual bool isGroupingUsed () const
    Whether groupings are used for numbers, for example, "234,678".
- virtual void setGroupingUsed (bool bUsed)
    Change whether groupings are used for numbers, for example, "234,678".
- virtual void setGroupingSize (unsigned long size)
    Change the size of groupings, for example, "234,678" uses a size of "3".
- virtual void setGroupingSeparator (const XalanDOMString &s)
    Change the separator string used for groupings, for example, "234,678" uses the separator ",".

## Constructor & Destructor Documentation

ICUXalanNumberFormatProxy::ICUXalanNumberFormatProxy | ( | MemoryManagerType & | theManager | ) | `[explicit]`

virtual ICUXalanNumberFormatProxy::~ICUXalanNumberFormatProxy | ( |  | ) | `[virtual]`

## Member Function Documentation

virtual XalanDOMString& ICUXalanNumberFormatProxy::format | ( | unsigned long | theValue,
|  | XalanDOMString & | theResult
| ) | `[virtual]`

  | Format a number into a string. Parameters:
  theValue | number to format
  theResult | the string result
Reimplemented from XalanNumberFormat.

virtual XalanDOMString& ICUXalanNumberFormatProxy::format | ( | long | theValue,
|  | XalanDOMString & | theResult
| ) | `[virtual]`

  | Format a number into a string. Parameters:
  theValue | number to format
Returns: string representation of number Reimplemented from XalanNumberFormat.

virtual XalanDOMString& ICUXalanNumberFormatProxy::format | ( | unsigned int | theValue,
|  | XalanDOMString & | theResult
| ) | `[virtual]`

  | Format a number into a string. Parameters:
  theValue | number to format
  theResult | the string result
Reimplemented from XalanNumberFormat.

virtual XalanDOMString& ICUXalanNumberFormatProxy::format | ( | int | theValue,
|  | XalanDOMString & | theResult
| ) | `[virtual]`

  | Format a number into a string. Parameters:
  theValue | number to format
Returns: string representation of number Reimplemented from XalanNumberFormat.

virtual XalanDOMString& ICUXalanNumberFormatProxy::format | ( | double | theValue,
|  | XalanDOMString & | theResult
| ) | `[virtual]`

  | Format a number into a string. Parameters:
  theValue | number to format
Returns: string representation of number Reimplemented from XalanNumberFormat.

virtual bool ICUXalanNumberFormatProxy::isGroupingUsed | ( |  | ) | const`[virtual]`

| Whether groupings are used for numbers, for example, "234,678". Returns: true if grouping used Reimplemented from XalanNumberFormat.

virtual void ICUXalanNumberFormatProxy::setGroupingSeparator | ( | const XalanDOMString & | s | ) | `[virtual]`

  | Change the separator string used for groupings, for example, "234,678" uses the separator ",". Parameters:
  s | grouping separator string
Reimplemented from XalanNumberFormat.

virtual void ICUXalanNumberFormatProxy::setGroupingSize | ( | unsigned long | size | ) | `[virtual]`

  | Change the size of groupings, for example, "234,678" uses a size of "3". Parameters:
  size | the grouping size
Reimplemented from XalanNumberFormat.

virtual void ICUXalanNumberFormatProxy::setGroupingUsed | ( | bool | bUsed | ) | `[virtual]`

  | Change whether groupings are used for numbers, for example, "234,678". Parameters:
  bUsed | true to use grouping
Reimplemented from XalanNumberFormat.

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

- ICUXalanNumberFormatProxy.hpp

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.9 Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.