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_TEXT_IDENTIFIER_H_
00028 #define CEYLAN_TEXT_IDENTIFIER_H_
00029
00030
00031 #include "CeylanIdentifier.h"
00032
00033 #include <string>
00034
00035
00036
00037 namespace Ceylan
00038 {
00039
00040
00041
00048 class CEYLAN_DLL TextIdentifier : public Identifier
00049 {
00050
00051
00052 public:
00053
00054
00056 TextIdentifier() ;
00057
00058
00059
00065 explicit TextIdentifier( const std::string & id ) ;
00066
00067
00068
00070 virtual ~TextIdentifier() throw() ;
00071
00072
00073
00084 virtual const std::string toString(
00085 Ceylan::VerbosityLevels level = Ceylan::high ) const ;
00086
00087
00089 bool operator==( const TextIdentifier & otherIdentifier ) ;
00090
00091
00092
00093 protected:
00094
00095
00097 std::string _id ;
00098
00099
00100
00101 private:
00102
00103
00111 TextIdentifier( const TextIdentifier & source ) ;
00112
00113
00121 TextIdentifier & operator = ( const TextIdentifier & source ) ;
00122
00123
00124 } ;
00125
00126 }
00127
00128
00129
00130 #endif // CEYLAN_TEXT_IDENTIFIER_H_
00131