summaryrefslogtreecommitdiff
path: root/modules/CIAO/CIDLC/CxxNamePrinter.hpp
blob: 417dfa16a9fe2157a20fbb5848699e20a9a8a092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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