![]() |
![]() |
00001 #ifndef IGUANA_MODELS_IG_XML_REP_H 00002 # define IGUANA_MODELS_IG_XML_REP_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "Iguana/Models/interface/config.h" 00007 # include "Iguana/Framework/interface/IgRep.h" 00008 # include <qdom.h> 00009 # include <string> 00010 00011 //<<<<<< PUBLIC DEFINES >>>>>> 00012 //<<<<<< PUBLIC CONSTANTS >>>>>> 00013 //<<<<<< PUBLIC TYPES >>>>>> 00014 00015 class IgXMLModel; 00016 class IgRepContext; 00017 00018 //<<<<<< PUBLIC VARIABLES >>>>>> 00019 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00020 //<<<<<< CLASS DECLARATIONS >>>>>> 00021 00022 class IGUANA_MODELS_API IgXMLRep : public IgRep, 00023 public QDomElement 00024 { 00025 public: 00026 IgXMLRep (IgXMLModel *model, 00027 IgXMLRep *parent, 00028 IgXMLRep *before, 00029 const std::string &tagName); 00030 00031 ~IgXMLRep (void); 00032 00033 // implicit copy constructor 00034 // implicit assignment operator 00035 // implicit destructor 00036 virtual IgRepContext * context (void) const; 00037 virtual IgModel * model (void) const; 00038 00039 protected: 00040 virtual void context (IgRepContext *context); 00041 00042 private: 00043 IgXMLModel * m_model; 00044 IgRepContext * m_context; 00045 }; 00046 00047 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00048 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00049 00050 #endif // IGUANA_MODELS_IG_XML_REP_H