Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

ParameterRemapEnumToInt Class Reference

#include <parameterRemapEnumToInt.h>

Inheritance diagram for ParameterRemapEnumToInt:

ParameterRemap List of all members.

Public Member Functions

 ParameterRemapEnumToInt (CPPType *orig_type)
virtual void pass_parameter (ostream &out, const string &variable_name)
virtual string get_return_expr (const string &expression)

Private Member Functions

CPPTypeunwrap_type (CPPType *source_type) const

Private Attributes

CPPType_enum_type

Constructor & Destructor Documentation

ParameterRemapEnumToInt::ParameterRemapEnumToInt CPPType orig_type  ) 
 

Definition at line 33 of file parameterRemapEnumToInt.cxx.

References _enum_type, ParameterRemap::_new_type, ParameterRemap::_orig_type, CPPType::new_type(), CPPSimpleType::T_int, and unwrap_type().


Member Function Documentation

string ParameterRemapEnumToInt::get_return_expr const string &  expression  )  [virtual]
 

Reimplemented from ParameterRemap.

Definition at line 60 of file parameterRemapEnumToInt.cxx.

void ParameterRemapEnumToInt::pass_parameter ostream out,
const string &  variable_name
[virtual]
 

Reimplemented from ParameterRemap.

Definition at line 48 of file parameterRemapEnumToInt.cxx.

References _enum_type, CPPType::get_local_name(), and parser.

CPPType * ParameterRemapEnumToInt::unwrap_type CPPType source_type  )  const [private]
 

Definition at line 71 of file parameterRemapEnumToInt.cxx.

References CPPPointerType::_pointing_at, CPPReferenceType::_pointing_at, CPPConstType::_wrapped_around, CPPDeclaration::as_const_type(), CPPDeclaration::as_pointer_type(), CPPDeclaration::as_reference_type(), CPPDeclaration::get_subtype(), CPPDeclaration::ST_const, CPPDeclaration::ST_pointer, and CPPDeclaration::ST_reference.

Referenced by ParameterRemapEnumToInt().


Member Data Documentation

CPPType* ParameterRemapEnumToInt::_enum_type [private]
 

Definition at line 39 of file parameterRemapEnumToInt.h.

Referenced by ParameterRemapEnumToInt(), and pass_parameter().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:35:04 2003 for DTool by doxygen1.3