00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef CEYLAN_MEASURABLE_H_
00028 #define CEYLAN_MEASURABLE_H_
00029
00030
00031 #include "CeylanTextDisplayable.h"
00032 #include "CeylanSystem.h"
00033
00034 #include <string>
00035
00036
00037
00038 namespace Ceylan
00039 {
00040
00041
00049 class CEYLAN_DLL Measurable : public TextDisplayable
00050 {
00051
00052
00053 public:
00054
00055
00057 Measurable() ;
00058
00059
00061 virtual ~Measurable() throw() ;
00062
00063
00074 virtual Ceylan::System::Size getSizeInMemory() const = 0 ;
00075
00076
00077
00088 virtual const std::string toString(
00089 Ceylan::VerbosityLevels level = Ceylan::high ) const ;
00090
00091
00092
00093 private:
00094
00095
00104 Measurable( const Measurable & source ) ;
00105
00106
00115 Measurable & operator = ( const Measurable & source ) ;
00116
00117
00118 } ;
00119
00120
00121 }
00122
00123
00124
00125 #endif // CEYLAN_MEASURABLE_H_
00126