diff options
Diffstat (limited to 'TAO/CIAO/CCF/Example/IDL2/CxxMapping/Generator.cpp')
-rw-r--r-- | TAO/CIAO/CCF/Example/IDL2/CxxMapping/Generator.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/TAO/CIAO/CCF/Example/IDL2/CxxMapping/Generator.cpp b/TAO/CIAO/CCF/Example/IDL2/CxxMapping/Generator.cpp new file mode 100644 index 00000000000..6645b7f0b67 --- /dev/null +++ b/TAO/CIAO/CCF/Example/IDL2/CxxMapping/Generator.cpp @@ -0,0 +1,32 @@ +// file : Example/IDL2/CxxMapping/Generator.cpp +// author : Boris Kolpackov <boris@dre.vanderbilt.edu> +// cvs-id : $Id$ + +#include "Generator.hpp" +#include "GeneratorImpl.hpp" + +namespace IDL2 +{ + Generator:: + ~Generator () + { + } + + Generator:: + Generator () + : pimpl_ (new GeneratorImpl), impl_ (*pimpl_) + { + } + + Generator:: + Generator (GeneratorImpl& gi) + : pimpl_ (), impl_ (gi) + { + } + + void Generator:: + generate (CCF::IDL2::SemanticGraph::TranslationUnit& tu) + { + impl_.generate (tu); + } +} |