ICU 4.8.1.1  4.8.1.1
measunit.h
Go to the documentation of this file.
00001 /*
00002 **********************************************************************
00003 * Copyright (c) 2004-2006, 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 
00025 U_NAMESPACE_BEGIN
00026 
00036 class U_I18N_API MeasureUnit: public UObject {
00037  public:
00043     virtual UObject* clone() const = 0;
00044 
00049     virtual ~MeasureUnit();
00050     
00056     virtual UBool operator==(const UObject& other) const = 0;
00057 
00058  protected:
00063     MeasureUnit();
00064 };
00065 
00066 U_NAMESPACE_END
00067 
00068 // NOTE: There is no measunit.cpp. For implementation, see measure.cpp. [alan]
00069 
00070 #endif // !UCONFIG_NO_FORMATTING
00071 #endif // __MEASUREUNIT_H__
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines