Logo Search packages:      
Sourcecode: icu version File versions

DecimalFormat::EPadPosition DecimalFormat::getPadPosition ( void   ) const [virtual]

Get the position at which padding will take place. This is the location at which padding will be inserted if the result of format() is shorter than the format width.

Returns:
the pad position, one of kPadBeforePrefix, kPadAfterPrefix, kPadBeforeSuffix, or kPadAfterSuffix.
See also:
setFormatWidth
getFormatWidth
setPadCharacter
getPadCharacterString
setPadPosition
EPadPosition ICU 2.0

Get the position at which padding will take place. This is the location at which padding will be inserted if the result of format() is shorter than the format width.

Returns:
the pad position, one of kPadBeforePrefix, kPadAfterPrefix, kPadBeforeSuffix, or kPadAfterSuffix.
See also:
setFormatWidth
getFormatWidth
setPadCharacter
getPadCharacter
setPadPosition
kPadBeforePrefix
kPadAfterPrefix
kPadBeforeSuffix
kPadAfterSuffix

Definition at line 2985 of file decimfmt.cpp.

Referenced by unum_getAttribute().

                                                              {
    return fPadPosition;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index