00001 #ifndef REBECCA_FRAMEWORK_PATTERNSIDETHAT_H
00002 #define REBECCA_FRAMEWORK_PATTERNSIDETHAT_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/InnerCategory.h>
00037 #include <rebecca/framework/InnerTemplate.h>
00038 
00039 
00040 #include <boost/enable_shared_from_this.hpp>
00041 
00042 namespace rebecca
00043 {
00044 namespace framework
00045 {
00046 namespace impl
00047 {
00048 
00049 
00050 
00051 
00052 
00063 class PatternSideThatImpl;
00064 class GraphBuilderFramework;    
00065 
00066 using boost::enable_shared_from_this;
00067 
00080 class REBECCA_EXPORT PatternSideThat : public InnerCategory, public enable_shared_from_this<PatternSideThat>
00081 {
00082     public:
00083 
00100         PatternSideThat(GraphBuilderFramework &builder) 
00101             throw(InternalProgrammerErrorException &);
00102 
00117         virtual void addCharacters(const StringPimpl &characters) 
00118             throw(InternalProgrammerErrorException &);
00119 
00129         virtual StringPimpl getString() const
00130             throw(InternalProgrammerErrorException &);
00131 
00146         virtual const StringPimpl &getStringConstRef() const
00147             throw(InternalProgrammerErrorException &);
00148 
00153         virtual ~PatternSideThat();
00154 
00155     private:
00156        
00167         shared_ptr<PatternSideThatImpl> m_pimpl;
00168 };
00169 
00170 } 
00171 
00172 
00173 using rebecca::framework::impl::PatternSideThat;
00174 
00175 } 
00176 } 
00177 
00178 #ifdef _WIN32
00179 #    pragma warning ( pop )
00180 #endif
00181 
00182 #endif
00183