diff options
author | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-03-18 22:23:37 +0000 |
---|---|---|
committer | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-03-18 22:23:37 +0000 |
commit | 06a34455bd98b1379cc69bbc5b2cf085e0fc0d9b (patch) | |
tree | 8815ce3b3a85c3c4285429295f338e00ea4497f4 /CIAO/CIDLC/CxxNamePrinter.hpp | |
parent | d66fcc9b4aaec8e88eeb83fc578fdf8a3cc963de (diff) | |
download | ATCD-06a34455bd98b1379cc69bbc5b2cf085e0fc0d9b.tar.gz |
Diffstat (limited to 'CIAO/CIDLC/CxxNamePrinter.hpp')
-rw-r--r-- | CIAO/CIDLC/CxxNamePrinter.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/CIAO/CIDLC/CxxNamePrinter.hpp b/CIAO/CIDLC/CxxNamePrinter.hpp new file mode 100644 index 00000000000..417dfa16a9f --- /dev/null +++ b/CIAO/CIDLC/CxxNamePrinter.hpp @@ -0,0 +1,18 @@ +// file : CIDLC/CxxNamePrinter.hpp +// author : Boris Kolpackov <boris@codesynthesis.com> +// cvs-id : $Id: Collectors.hpp 55138 2004-01-05 07:53:05Z parsons $ + +#ifndef CXX_NAME_PRINTER_HPP +#define CXX_NAME_PRINTER_HPP + +#include "CCF/IDL2/SemanticGraph/Name.hpp" + +// Prints names while escaping C++ keywords with the _cxx_ prefix. +// +struct CxxNamePrinter: CCF::IDL2::SemanticGraph::NamePrinter +{ + virtual void + print (std::ostream&, CCF::IDL2::SemanticGraph::SimpleName const&); +}; + +#endif // CXX_NAME_PRINTER_HPP |