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

InterrogateFunction Class Reference

#include <interrogateFunction.h>

Inheritance diagram for InterrogateFunction:

InterrogateComponent List of all members.

Public Types

typedef map< string, CPPInstance * > Instances

Public Member Functions

INLINE InterrogateFunction (InterrogateModuleDef *def=NULL)
INLINE InterrogateFunction (const InterrogateFunction &copy)
void operator= (const InterrogateFunction &copy)
INLINE bool is_global () const
INLINE bool is_virtual () const
INLINE bool is_method () const
INLINE TypeIndex get_class () const
INLINE bool has_scoped_name () const
INLINE const string & get_scoped_name () const
INLINE bool has_comment () const
INLINE const string & get_comment () const
INLINE bool has_prototype () const
INLINE const string & get_prototype () const
INLINE int number_of_c_wrappers () const
INLINE FunctionWrapperIndex get_c_wrapper (int n) const
INLINE int number_of_python_wrappers () const
INLINE FunctionWrapperIndex get_python_wrapper (int n) const
void output (ostream &out) const
void input (istream &in)
void remap_indices (const IndexRemapper &remap)

Public Attributes

Instances_instances
string _expression

Private Types

typedef vector< FunctionWrapperIndexWrappers
enum  Flags {
  F_global = 0x0001, F_virtual = 0x0002, F_method = 0x0004, F_typecast = 0x0008,
  F_getter = 0x0010, F_setter = 0x0020
}

Private Attributes

int _flags
string _scoped_name
string _comment
string _prototype
TypeIndex _class
Wrappers _c_wrappers
Wrappers _python_wrappers

Friends

class InterrogateBuilder
class InterfaceMakerC
class InterfaceMakerPythonSimple
class FunctionRemap

Member Typedef Documentation

typedef map<string, CPPInstance *> InterrogateFunction::Instances
 

Definition at line 97 of file interrogateFunction.h.

typedef vector<FunctionWrapperIndex> InterrogateFunction::Wrappers [private]
 

Definition at line 83 of file interrogateFunction.h.


Member Enumeration Documentation

enum InterrogateFunction::Flags [private]
 

Enumeration values:
F_global 
F_virtual 
F_method 
F_typecast 
F_getter 
F_setter 

Definition at line 68 of file interrogateFunction.h.


Constructor & Destructor Documentation

INLINE InterrogateFunction::InterrogateFunction InterrogateModuleDef def = NULL  ) 
 

INLINE InterrogateFunction::InterrogateFunction const InterrogateFunction &  copy  ) 
 


Member Function Documentation

INLINE FunctionWrapperIndex InterrogateFunction::get_c_wrapper int  n  )  const
 

Referenced by interrogate_function_c_wrapper().

INLINE TypeIndex InterrogateFunction::get_class  )  const
 

Referenced by interrogate_function_class().

INLINE const string& InterrogateFunction::get_comment  )  const
 

Referenced by interrogate_function_comment().

INLINE const string& InterrogateFunction::get_prototype  )  const
 

Referenced by interrogate_function_prototype().

INLINE FunctionWrapperIndex InterrogateFunction::get_python_wrapper int  n  )  const
 

Referenced by interrogate_function_python_wrapper().

INLINE const string& InterrogateFunction::get_scoped_name  )  const
 

Referenced by InterfaceMaker::get_wrapper_name(), and interrogate_function_scoped_name().

INLINE bool InterrogateFunction::has_comment  )  const
 

Referenced by interrogate_function_has_comment().

INLINE bool InterrogateFunction::has_prototype  )  const
 

INLINE bool InterrogateFunction::has_scoped_name  )  const
 

void InterrogateFunction::input istream in  ) 
 

Reimplemented from InterrogateComponent.

Definition at line 69 of file interrogateFunction.cxx.

References _c_wrappers, _class, _comment, _flags, _prototype, _python_wrappers, _scoped_name, InterrogateDatabase::get_file_minor_version(), idf_input_string(), idf_input_vector(), and InterrogateComponent::input().

INLINE bool InterrogateFunction::is_global  )  const
 

Referenced by InterrogateDatabase::add_function().

INLINE bool InterrogateFunction::is_method  )  const
 

Referenced by interrogate_function_is_method().

INLINE bool InterrogateFunction::is_virtual  )  const
 

Referenced by interrogate_function_is_virtual().

INLINE int InterrogateFunction::number_of_c_wrappers  )  const
 

Referenced by interrogate_function_number_of_c_wrappers().

INLINE int InterrogateFunction::number_of_python_wrappers  )  const
 

Referenced by interrogate_function_number_of_python_wrappers().

void InterrogateFunction::operator= const InterrogateFunction &  copy  ) 
 

Definition at line 30 of file interrogateFunction.cxx.

References _c_wrappers, _class, _comment, _expression, _flags, _instances, _prototype, _python_wrappers, _scoped_name, and InterrogateComponent::operator=().

void InterrogateFunction::output ostream out  )  const
 

Reimplemented from InterrogateComponent.

Definition at line 51 of file interrogateFunction.cxx.

References _c_wrappers, _class, _comment, _flags, _prototype, _python_wrappers, _scoped_name, idf_output_string(), idf_output_vector(), and InterrogateComponent::output().

void InterrogateFunction::remap_indices const IndexRemapper remap  ) 
 

Definition at line 90 of file interrogateFunction.cxx.

References _c_wrappers, _class, _python_wrappers, and IndexRemapper::map_from().

Referenced by InterrogateDatabase::merge_from().


Friends And Related Function Documentation

friend class FunctionRemap [friend]
 

Reimplemented from InterrogateComponent.

Definition at line 104 of file interrogateFunction.h.

friend class InterfaceMakerC [friend]
 

Definition at line 102 of file interrogateFunction.h.

friend class InterfaceMakerPythonSimple [friend]
 

Definition at line 103 of file interrogateFunction.h.

friend class InterrogateBuilder [friend]
 

Reimplemented from InterrogateComponent.

Definition at line 101 of file interrogateFunction.h.


Member Data Documentation

Wrappers InterrogateFunction::_c_wrappers [private]
 

Definition at line 84 of file interrogateFunction.h.

Referenced by input(), operator=(), output(), InterfaceMakerC::record_function_wrapper(), and remap_indices().

TypeIndex InterrogateFunction::_class [private]
 

Definition at line 81 of file interrogateFunction.h.

Referenced by InterrogateBuilder::get_function(), input(), operator=(), output(), and remap_indices().

string InterrogateFunction::_comment [private]
 

Definition at line 79 of file interrogateFunction.h.

Referenced by InterrogateBuilder::get_cast_function(), InterrogateBuilder::get_function(), InterrogateBuilder::get_getter(), InterrogateBuilder::get_setter(), input(), operator=(), output(), and InterrogateBuilder::update_method_comment().

string InterrogateFunction::_expression
 

Definition at line 99 of file interrogateFunction.h.

Referenced by InterrogateBuilder::get_function(), operator=(), and FunctionRemap::setup_properties().

int InterrogateFunction::_flags [private]
 

Definition at line 77 of file interrogateFunction.h.

Referenced by InterrogateBuilder::get_function(), input(), operator=(), output(), and FunctionRemap::setup_properties().

Instances* InterrogateFunction::_instances
 

Definition at line 98 of file interrogateFunction.h.

Referenced by InterrogateBuilder::get_function(), operator=(), and InterfaceMaker::record_function().

string InterrogateFunction::_prototype [private]
 

Definition at line 80 of file interrogateFunction.h.

Referenced by InterrogateBuilder::get_function(), input(), operator=(), and output().

Wrappers InterrogateFunction::_python_wrappers [private]
 

Definition at line 85 of file interrogateFunction.h.

Referenced by input(), operator=(), output(), InterfaceMakerPythonSimple::record_function_wrapper(), and remap_indices().

string InterrogateFunction::_scoped_name [private]
 

Definition at line 78 of file interrogateFunction.h.

Referenced by InterrogateBuilder::get_function(), input(), operator=(), and output().


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