measunit.h

Go to the documentation of this file.
00001 /* 00002 ********************************************************************** 00003 * Copyright (c) 2004, International Business Machines 00004 * Corporation and others. All Rights Reserved. 00005 ********************************************************************** 00006 * Author: Alan Liu 00007 * Created: April 26, 2004 00008 * Since: ICU 3.0 00009 ********************************************************************** 00010 */ 00011 #ifndef __MEASUREUNIT_H__ 00012 #define __MEASUREUNIT_H__ 00013 00014 #include "unicode/utypes.h" 00015 00016 #if !UCONFIG_NO_FORMATTING 00017 00018 #include "unicode/fmtable.h" 00019 00020 U_NAMESPACE_BEGIN 00021 00031 class U_I18N_API MeasureUnit: public UObject { 00032 public: 00038 virtual UObject* clone() const = 0; 00039 00044 virtual ~MeasureUnit(); 00045 00051 virtual UBool operator==(const UObject& other) const = 0; 00052 00053 protected: 00058 MeasureUnit(); 00059 }; 00060 00061 U_NAMESPACE_END 00062 00063 // NOTE: There is no measunit.cpp. For implementation, see measure.cpp. [alan] 00064 00065 #endif // !UCONFIG_NO_FORMATTING 00066 #endif // __MEASUREUNIT_H__

Generated on Fri Jun 18 12:35:57 2004 for ICU by doxygen 1.3.7