diff options
Diffstat (limited to 'TAO/CIAO/CIDLC/ParameterEmitter_T.hpp')
-rw-r--r-- | TAO/CIAO/CIDLC/ParameterEmitter_T.hpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/TAO/CIAO/CIDLC/ParameterEmitter_T.hpp b/TAO/CIAO/CIDLC/ParameterEmitter_T.hpp deleted file mode 100644 index 4fe0d55867f..00000000000 --- a/TAO/CIAO/CIDLC/ParameterEmitter_T.hpp +++ /dev/null @@ -1,33 +0,0 @@ -// file : CIDLC/ParameterEmitter_T.hpp -// author : Jeff Parsons <j.parsons@vanderbilt.edu> -// cvs-id : $Id$ - -#ifndef PARAMETEREMITTER_T_HPP -#define PARAMETEREMITTER_T_HPP - -#include "EmitterBase.hpp" - -// For generating parameter names. -template <typename T> -struct ParameterEmitter : T, EmitterBase -{ - ParameterEmitter (Context& c, bool for_exec_src = false) - : EmitterBase (c), - for_exec_src_ (for_exec_src) - { - } - - virtual void - name (typename T::Type& p) - { - os << " " - << (for_exec_src_ ? "/* " : "") - << p.name () - << (for_exec_src_ ? " */" : ""); - } - -private: - bool for_exec_src_; -}; - -#endif // PARAMETEREMITTER_T_HPP |