OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [text/] [DecimalFormat.h] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_text_DecimalFormat__
5
#define __java_text_DecimalFormat__
6
 
7
#pragma interface
8
 
9
#include <java/text/NumberFormat.h>
10
extern "Java"
11
{
12
  namespace gnu
13
  {
14
    namespace java
15
    {
16
      namespace lang
17
      {
18
          class CPStringBuilder;
19
      }
20
    }
21
  }
22
  namespace java
23
  {
24
    namespace math
25
    {
26
        class BigDecimal;
27
    }
28
    namespace text
29
    {
30
        class AttributedCharacterIterator;
31
        class DecimalFormat;
32
        class DecimalFormatSymbols;
33
        class FieldPosition;
34
        class NumberFormat$Field;
35
        class ParsePosition;
36
    }
37
  }
38
}
39
 
40
class java::text::DecimalFormat : public ::java::text::NumberFormat
41
{
42
 
43
public:
44
  DecimalFormat();
45
  DecimalFormat(::java::lang::String *);
46
  DecimalFormat(::java::lang::String *, ::java::text::DecimalFormatSymbols *);
47
  virtual void applyLocalizedPattern(::java::lang::String *);
48
  virtual void applyPattern(::java::lang::String *);
49
  virtual ::java::lang::Object * clone();
50
  virtual jboolean equals(::java::lang::Object *);
51
  virtual jint hashCode();
52
  virtual ::java::lang::StringBuffer * format(::java::lang::Object *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
53
  virtual ::java::lang::StringBuffer * format(jdouble, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
54
  virtual ::java::lang::StringBuffer * format(jlong, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
55
  virtual ::java::text::AttributedCharacterIterator * formatToCharacterIterator(::java::lang::Object *);
56
  virtual ::java::util::Currency * getCurrency();
57
  virtual ::java::text::DecimalFormatSymbols * getDecimalFormatSymbols();
58
  virtual jint getGroupingSize();
59
  virtual jint getMultiplier();
60
  virtual ::java::lang::String * getNegativePrefix();
61
  virtual ::java::lang::String * getNegativeSuffix();
62
  virtual ::java::lang::String * getPositivePrefix();
63
  virtual ::java::lang::String * getPositiveSuffix();
64
  virtual jboolean isDecimalSeparatorAlwaysShown();
65
  virtual void setParseBigDecimal(jboolean);
66
  virtual jboolean isParseBigDecimal();
67
  virtual ::java::lang::Number * parse(::java::lang::String *, ::java::text::ParsePosition *);
68
  virtual void setCurrency(::java::util::Currency *);
69
  virtual void setDecimalFormatSymbols(::java::text::DecimalFormatSymbols *);
70
  virtual void setDecimalSeparatorAlwaysShown(jboolean);
71
  virtual void setGroupingSize(jint);
72
  virtual void setMaximumIntegerDigits(jint);
73
  virtual void setMinimumIntegerDigits(jint);
74
  virtual void setMaximumFractionDigits(jint);
75
  virtual void setMinimumFractionDigits(jint);
76
  virtual void setMultiplier(jint);
77
  virtual void setNegativePrefix(::java::lang::String *);
78
  virtual void setNegativeSuffix(::java::lang::String *);
79
  virtual void setPositivePrefix(::java::lang::String *);
80
  virtual void setPositiveSuffix(::java::lang::String *);
81
  virtual ::java::lang::String * toLocalizedPattern();
82
  virtual ::java::lang::String * toPattern();
83
private:
84
  jboolean equals(::java::lang::String *, ::java::lang::String *);
85
  ::java::lang::String * patternChars(::java::text::DecimalFormatSymbols *);
86
  ::gnu::java::lang::CPStringBuilder * quoteFix(::java::lang::String *, ::java::lang::String *);
87
  ::java::lang::String * computePattern(::java::text::DecimalFormatSymbols *);
88
  void applyPatternWithSymbols(::java::lang::String *, ::java::text::DecimalFormatSymbols *);
89
  jint scanFix(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint, jboolean);
90
  jint scanNumberInteger(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint);
91
  jint scanFractionalPortion(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint);
92
  jint scanExponent(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint);
93
  void scanNegativePattern(::java::lang::String *, ::java::text::DecimalFormatSymbols *, jint);
94
  void formatInternal(::java::math::BigDecimal *, jboolean, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
95
  void handleFractionalPart(::java::lang::StringBuffer *, ::java::lang::String *, ::java::text::FieldPosition *, jboolean);
96
  void appendZero(::java::lang::StringBuffer *, jint, jint);
97
  void appendDigit(::java::lang::String *, ::java::lang::StringBuffer *, jboolean);
98
  jlong getExponent(::java::math::BigDecimal *);
99
  ::java::lang::String * adjustTrailingZeros(::java::lang::String *, jint);
100
  void addAttribute(::java::text::NumberFormat$Field *, jint, jint);
101
  void setDefaultValues();
102
  static const jlong serialVersionUID = 864413376551465018LL;
103
  static const jint DEFAULT_INTEGER_DIGITS = 309;
104
  static const jint DEFAULT_FRACTION_DIGITS = 340;
105
  static ::java::text::DecimalFormatSymbols * nonLocalizedSymbols;
106
  jboolean __attribute__((aligned(__alignof__( ::java::text::NumberFormat)))) parseBigDecimal;
107
  jboolean useCurrencySeparator;
108
  jboolean decimalSeparatorAlwaysShown;
109
  jboolean showDecimalSeparator;
110
  jboolean groupingSeparatorInPattern;
111
  jbyte groupingSize;
112
  jbyte minExponentDigits;
113
  jint exponentRound;
114
  jint multiplier;
115
  jint negativePatternMultiplier;
116
  ::java::lang::String * negativePrefix;
117
  ::java::lang::String * negativeSuffix;
118
  ::java::lang::String * positivePrefix;
119
  ::java::lang::String * positiveSuffix;
120
  ::java::text::DecimalFormatSymbols * symbols;
121
  jboolean useExponentialNotation;
122
  jint maxIntegerDigitsExponent;
123
  jboolean hasNegativePrefix;
124
  jboolean hasFractionalPattern;
125
  ::java::util::ArrayList * attributes;
126
public:
127
  static ::java::lang::Class class$;
128
};
129
 
130
#endif // __java_text_DecimalFormat__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.