diff options
Diffstat (limited to 'modules/CIAO/CCF/Example/IDL2/CxxMapping/Generator.hpp')
-rw-r--r-- | modules/CIAO/CCF/Example/IDL2/CxxMapping/Generator.hpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/CIAO/CCF/Example/IDL2/CxxMapping/Generator.hpp b/modules/CIAO/CCF/Example/IDL2/CxxMapping/Generator.hpp new file mode 100644 index 00000000000..4e231267dae --- /dev/null +++ b/modules/CIAO/CCF/Example/IDL2/CxxMapping/Generator.hpp @@ -0,0 +1,34 @@ +// file : Example/IDL2/CxxMapping/Generator.hpp +// author : Boris Kolpackov <boris@dre.vanderbilt.edu> +// cvs-id : $Id$ + +#ifndef EXAMPLE_IDL2_CXX_MAPPING_GENERATOR_HPP +#define EXAMPLE_IDL2_CXX_MAPPING_GENERATOR_HPP + +#include <memory> + +#include "CCF/IDL2/SemanticGraph.hpp" + +namespace IDL2 +{ + class GeneratorImpl; + + class Generator + { + public: + ~Generator (); + Generator (); + + void + generate (CCF::IDL2::SemanticGraph::TranslationUnit& tu); + + protected: + Generator (GeneratorImpl&); + + protected: + std::auto_ptr<GeneratorImpl> pimpl_; + GeneratorImpl& impl_; + }; +} + +#endif // EXAMPLE_IDL2_CXX_MAPPING_GENERATOR_HPP |