27 #include <tqcstring.h>
29 #include <VCardValue.h>
36 class KVCARD_EXPORT ClassValue :
public Value
40 ClassValue(
const ClassValue&);
41 ClassValue(
const TQCString&);
42 ClassValue & operator = (ClassValue&);
43 ClassValue & operator = (
const TQCString&);
44 bool operator ==(ClassValue&);
45 bool operator !=(ClassValue& x) {
return !(*
this==x);}
46 bool operator ==(
const TQCString& s) {ClassValue a(s);
return(*
this==a);}
47 bool operator != (
const TQCString& s) {
return !(*
this == s);}
49 virtual ~ClassValue();
50 void parse() {
if(!parsed_) _parse();parsed_=
true;assembled_=
false;}
52 void assemble() {
if(assembled_)
return;parse();_assemble();assembled_=
true;}
56 const char * className()
const {
return "ClassValue"; }
59 Public, Private, Confidential, Other
64 void setType(
int type ) { classType_ = type; assembled_ =
false; parsed_ =
true; }
65 int type() { parse();
return classType_; }