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

InterfaceMakerC Class Reference

#include <interfaceMakerC.h>

Inheritance diagram for InterfaceMakerC:

InterfaceMaker List of all members.

Public Member Functions

 InterfaceMakerC (InterrogateModuleDef *def)
virtual ~InterfaceMakerC ()
virtual void write_prototypes (ostream &out)
virtual void write_functions (ostream &out)
virtual bool synthesize_this_parameter ()

Protected Member Functions

virtual string get_wrapper_prefix ()
virtual string get_unique_prefix ()
virtual void record_function_wrapper (InterrogateFunction &ifunc, FunctionWrapperIndex wrapper_index)

Private Member Functions

void write_prototype_for (ostream &out, Function *func)
void write_function_for (ostream &out, Function *func)
void write_function_instance (ostream &out, Function *func, FunctionRemap *remap)
void write_function_header (ostream &out, Function *func, FunctionRemap *remap, bool newline)

Constructor & Destructor Documentation

InterfaceMakerC::InterfaceMakerC InterrogateModuleDef def  ) 
 

Definition at line 37 of file interfaceMakerC.cxx.

InterfaceMakerC::~InterfaceMakerC  )  [virtual]
 

Definition at line 48 of file interfaceMakerC.cxx.


Member Function Documentation

string InterfaceMakerC::get_unique_prefix  )  [protected, virtual]
 

Reimplemented from InterfaceMaker.

Definition at line 120 of file interfaceMakerC.cxx.

string InterfaceMakerC::get_wrapper_prefix  )  [protected, virtual]
 

Reimplemented from InterfaceMaker.

Definition at line 108 of file interfaceMakerC.cxx.

void InterfaceMakerC::record_function_wrapper InterrogateFunction ifunc,
FunctionWrapperIndex  wrapper_index
[protected, virtual]
 

Reimplemented from InterfaceMaker.

Definition at line 131 of file interfaceMakerC.cxx.

References InterrogateFunction::_c_wrappers.

bool InterfaceMakerC::synthesize_this_parameter  )  [virtual]
 

Reimplemented from InterfaceMaker.

Definition at line 97 of file interfaceMakerC.cxx.

void InterfaceMakerC::write_function_for ostream out,
Function *  func
[private]
 

Definition at line 162 of file interfaceMakerC.cxx.

References InterfaceMaker::Function::_remaps, and write_function_instance().

Referenced by write_functions().

void InterfaceMakerC::write_function_header ostream out,
Function *  func,
FunctionRemap remap,
bool  newline
[private]
 

Definition at line 217 of file interfaceMakerC.cxx.

References FunctionRemap::_parameters, FunctionRemap::_return_type, FunctionRemap::_void_return, FunctionRemap::_wrapper_name, CPPType::get_local_name(), ParameterRemap::get_new_type(), FunctionRemap::get_parameter_name(), and parser.

Referenced by write_function_instance(), and write_prototype_for().

void InterfaceMakerC::write_function_instance ostream out,
Function *  func,
FunctionRemap remap
[private]
 

Definition at line 178 of file interfaceMakerC.cxx.

References FunctionRemap::call_function(), InterfaceMaker::manage_return_value(), output_function_names, write_function_header(), FunctionRemap::write_orig_prototype(), and InterfaceMaker::write_spam_message().

Referenced by write_function_for().

void InterfaceMakerC::write_functions ostream out  )  [virtual]
 

Reimplemented from InterfaceMaker.

Definition at line 78 of file interfaceMakerC.cxx.

References InterfaceMaker::_functions, write_function_for(), and InterfaceMaker::write_functions().

void InterfaceMakerC::write_prototype_for ostream out,
Function *  func
[private]
 

Definition at line 142 of file interfaceMakerC.cxx.

References InterfaceMaker::Function::_remaps, and write_function_header().

Referenced by write_prototypes().

void InterfaceMakerC::write_prototypes ostream out  )  [virtual]
 

Reimplemented from InterfaceMaker.

Definition at line 59 of file interfaceMakerC.cxx.

References InterfaceMaker::_functions, write_prototype_for(), and InterfaceMaker::write_prototypes().


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