27 #include <tqptrlist.h>
29 #include <VCardEntity.h>
34 class KVCARD_EXPORT Value :
public Entity
39 Value(
const TQCString&);
40 Value & operator = (Value&);
41 Value & operator = (
const TQCString&);
42 bool operator ==(Value&);
43 bool operator !=(Value& x) {
return !(*
this==x);}
44 bool operator ==(
const TQCString& s) {Value a(s);
return(*
this==a);}
45 bool operator != (
const TQCString& s) {
return !(*
this == s);}
48 void parse() {
if(!parsed_) _parse();parsed_=
true;assembled_=
false;}
50 void assemble() {
if(assembled_)
return;parse();_assemble();assembled_=
true;}
54 const char * className()
const {
return "Value"; }
56 virtual Value *clone() {
return new Value( *
this ); }
59 typedef TQPtrList<Value> ValueList;
60 typedef TQPtrListIterator<Value> ValueListIterator;