00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef __NOUNIT_H__
00011 #define __NOUNIT_H__
00012
00013 #include "unicode/utypes.h"
00014
00015 #if U_SHOW_CPLUSPLUS_API
00016
00017 #if !UCONFIG_NO_FORMATTING
00018
00019 #include "unicode/measunit.h"
00020
00021 #ifndef U_HIDE_DRAFT_API
00022
00028 U_NAMESPACE_BEGIN
00029
00035 class U_I18N_API NoUnit: public MeasureUnit {
00036 public:
00043 static NoUnit U_EXPORT2 base();
00044
00051 static NoUnit U_EXPORT2 percent();
00052
00059 static NoUnit U_EXPORT2 permille();
00060
00065 NoUnit(const NoUnit& other);
00066
00071 virtual ~NoUnit();
00072
00078 virtual NoUnit* clone() const;
00079
00088 virtual UClassID getDynamicClassID() const;
00089
00096 static UClassID U_EXPORT2 getStaticClassID();
00097
00098 private:
00103 NoUnit(const char* subtype);
00104
00105 };
00106
00107 U_NAMESPACE_END
00108
00109 #endif
00110 #endif
00111
00112 #endif
00113
00114 #endif // __NOUNIT_H__
00115
00116