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_IDENTIFIER_H_
00028 #define CEYLAN_IDENTIFIER_H_
00029
00030
00031 #include "CeylanException.h"
00032 #include "CeylanTextDisplayable.h"
00033
00034 #include <string>
00035
00036
00037
00038 namespace Ceylan
00039 {
00040
00041
00042
00052 class CEYLAN_DLL Identifier : public TextDisplayable
00053 {
00054
00055
00056 public:
00057
00058
00060 class IdentifierException : public Exception
00061 {
00062
00063
00064 public:
00065
00066
00067 IdentifierException( const std::string message ) :
00068 Exception( message )
00069 {
00070
00071 }
00072
00073
00074 virtual ~IdentifierException() throw()
00075 {
00076
00077 }
00078
00079 } ;
00080
00081
00082
00084 Identifier() ;
00085
00086
00088 virtual ~Identifier() throw() ;
00089
00090
00091
00103 virtual const std::string toString( Ceylan::VerbosityLevels
00104 level = Ceylan::high ) const = 0 ;
00105
00106
00107
00108 private:
00109
00110
00119 Identifier( const Identifier & source ) ;
00120
00121
00130 Identifier & operator = ( const Identifier & source ) ;
00131
00132
00133 } ;
00134
00135 }
00136
00137
00138
00139 #endif // CEYLAN_IDENTIFIER_H_
00140