00001 #ifndef REBECCA_FRAMEWORK_CONDITION_H
00002 #define REBECCA_FRAMEWORK_CONDITION_H
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 
00028 
00029 #ifdef _WIN32
00030 #    pragma warning ( push )
00031 #    pragma warning( disable : 4251 )
00032 #    pragma warning( disable : 4290 )
00033 #endif
00034 
00035 
00036 #include <rebecca/framework/InnerTemplateListImpl.h>
00037 
00038 namespace rebecca
00039 {
00040 namespace framework
00041 {
00042 namespace impl
00043 {
00044 
00045 
00046 
00047 
00048 
00059 class ConditionImpl;
00060 class GraphBuilderFramework;
00061 
00073 class REBECCA_EXPORT Condition : public InnerTemplate
00074 {
00075     public:
00076 
00093         Condition(GraphBuilderFramework &builder) 
00094             throw(InternalProgrammerErrorException &);
00095 
00108         virtual StringPimpl getString() const
00109             throw(InternalProgrammerErrorException &);
00110 
00123         virtual void add(const shared_ptr<InnerTemplate> &tag) 
00124             throw(InternalProgrammerErrorException &);
00125         
00137         virtual void addCharacters(const StringPimpl &characters) 
00138             throw(InternalProgrammerErrorException &);
00139         
00151         virtual void setAttribute(const StringPimpl &name, const StringPimpl &value) 
00152             throw(InternalProgrammerErrorException &);
00153 
00158         virtual ~Condition();
00159     
00160     private:
00161 
00172         shared_ptr<ConditionImpl> m_pimpl;
00173 };
00174 
00175 } 
00176 
00177 
00178 using rebecca::framework::impl::Condition;
00179 
00180 } 
00181 } 
00182 
00183 #ifdef _WIN32
00184 #    pragma warning ( pop )
00185 #endif
00186 
00187 #endif