00001 #ifndef REBECCA_FRAMEWORK_CATEGORY_H
00002 #define REBECCA_FRAMEWORK_CATEGORY_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 #include <rebecca/framework/InnerTopic.h>
00036 
00037 namespace rebecca
00038 {
00039 namespace framework
00040 {
00041 namespace impl
00042 {
00043 
00044 using namespace boost;
00045 
00046 
00047 
00048 
00049 
00060 class CategoryImpl;
00061 class PatternSideThat;
00062 class Template;
00063 class Pattern;
00064 class GraphBuilderFramework;
00065 
00077 class REBECCA_EXPORT Category : public InnerTopic
00078 {
00079     public:
00080 
00097         Category(GraphBuilderFramework &builder) 
00098             throw(InternalProgrammerErrorException &);
00099         
00115         virtual void handleInnerTag(const shared_ptr<Tag> &tag) 
00116             throw(InternalProgrammerErrorException &);
00117 
00133         virtual const StringPimpl getTemplateString() 
00134             throw(InternalProgrammerErrorException &);
00135 
00153         virtual const StringPimpl &getPatternString() 
00154             throw(InternalProgrammerErrorException &);
00155 
00173         virtual const StringPimpl &getThatString() 
00174             throw(InternalProgrammerErrorException &);      
00175         
00189         virtual const shared_ptr<Template> &getTemplate() 
00190             throw(InternalProgrammerErrorException &);
00191 
00196         virtual ~Category();
00197 
00198     private:
00199 
00210         shared_ptr<CategoryImpl> m_pimpl;
00211 };
00212 
00213 
00214 } 
00215 
00216 
00217 using rebecca::framework::impl::Category;
00218 
00219 } 
00220 } 
00221 
00222 
00223 #ifdef _WIN32
00224 #    pragma warning ( pop )
00225 #endif
00226 
00227 #endif
00228