VCardEntity.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef ENTITY_H
00025 #define ENTITY_H
00026
00027 #include <qcstring.h>
00028
00029 namespace VCARD
00030 {
00031
00032 class Entity
00033 {
00034 public:
00035
00036 Entity();
00037 Entity(const Entity & e);
00038 Entity(const QCString & s);
00039
00040 virtual Entity & operator = (const Entity & e);
00041 virtual Entity & operator = (const QCString & s);
00042
00043 virtual bool operator == (Entity & e);
00044 virtual bool operator != (Entity & e);
00045 virtual bool operator == (const QCString & s);
00046 virtual bool operator != (const QCString & s);
00047
00048 virtual ~Entity();
00049
00050 QCString asString();
00051
00052 virtual void parse();
00053 virtual void assemble();
00054
00055 virtual void _parse() = 0;
00056 virtual void _assemble() = 0;
00057
00058 protected:
00059
00060 QCString strRep_;
00061 bool parsed_;
00062 bool assembled_;
00063 };
00064
00065 }
00066
00067 #endif
This file is part of the documentation for kdelibs Version 3.1.5.