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

InterrogateElement Class Reference

#include <interrogateElement.h>

Inheritance diagram for InterrogateElement:

InterrogateComponent List of all members.

Public Member Functions

INLINE InterrogateElement (InterrogateModuleDef *def=NULL)
INLINE InterrogateElement (const InterrogateElement &copy)
INLINE void operator= (const InterrogateElement &copy)
INLINE bool is_global () const
INLINE bool has_scoped_name () const
INLINE const string & get_scoped_name () const
INLINE TypeIndex get_type () const
INLINE bool has_getter () const
INLINE FunctionIndex get_getter () const
INLINE bool has_setter () const
INLINE FunctionIndex get_setter () const
void output (ostream &out) const
void input (istream &in)
void remap_indices (const IndexRemapper &remap)

Private Types

enum  Flags { F_global = 0x0001, F_has_getter = 0x0002, F_has_setter = 0x0004 }

Private Attributes

int _flags
string _scoped_name
TypeIndex _type
FunctionIndex _getter
FunctionIndex _setter

Friends

class InterrogateBuilder

Member Enumeration Documentation

enum InterrogateElement::Flags [private]
 

Enumeration values:
F_global 
F_has_getter 
F_has_setter 

Definition at line 56 of file interrogateElement.h.


Constructor & Destructor Documentation

INLINE InterrogateElement::InterrogateElement InterrogateModuleDef def = NULL  ) 
 

INLINE InterrogateElement::InterrogateElement const InterrogateElement &  copy  ) 
 


Member Function Documentation

INLINE FunctionIndex InterrogateElement::get_getter  )  const
 

Referenced by InterfaceMaker::generate_wrappers(), interrogate_element_getter(), and InterfaceMaker::record_object().

INLINE const string& InterrogateElement::get_scoped_name  )  const
 

Referenced by interrogate_element_scoped_name().

INLINE FunctionIndex InterrogateElement::get_setter  )  const
 

Referenced by InterfaceMaker::generate_wrappers(), interrogate_element_setter(), and InterfaceMaker::record_object().

INLINE TypeIndex InterrogateElement::get_type  )  const
 

Referenced by interrogate_element_type().

INLINE bool InterrogateElement::has_getter  )  const
 

Referenced by InterfaceMaker::generate_wrappers(), interrogate_element_has_getter(), and InterfaceMaker::record_object().

INLINE bool InterrogateElement::has_scoped_name  )  const
 

INLINE bool InterrogateElement::has_setter  )  const
 

Referenced by InterfaceMaker::generate_wrappers(), interrogate_element_has_setter(), and InterfaceMaker::record_object().

void InterrogateElement::input istream in  ) 
 

Reimplemented from InterrogateComponent.

Definition at line 46 of file interrogateElement.cxx.

References _flags, _getter, _scoped_name, _setter, _type, idf_input_string(), and InterrogateComponent::input().

INLINE bool InterrogateElement::is_global  )  const
 

Referenced by InterrogateDatabase::add_element().

INLINE void InterrogateElement::operator= const InterrogateElement &  copy  ) 
 

void InterrogateElement::output ostream out  )  const
 

Reimplemented from InterrogateComponent.

Definition at line 30 of file interrogateElement.cxx.

References _flags, _getter, _scoped_name, _setter, _type, idf_output_string(), and InterrogateComponent::output().

void InterrogateElement::remap_indices const IndexRemapper remap  ) 
 

Definition at line 60 of file interrogateElement.cxx.

References _getter, _setter, _type, and IndexRemapper::map_from().

Referenced by InterrogateDatabase::merge_from().


Friends And Related Function Documentation

friend class InterrogateBuilder [friend]
 

Reimplemented from InterrogateComponent.

Definition at line 68 of file interrogateElement.h.


Member Data Documentation

int InterrogateElement::_flags [private]
 

Definition at line 62 of file interrogateElement.h.

Referenced by input(), output(), and InterrogateBuilder::scan_element().

FunctionIndex InterrogateElement::_getter [private]
 

Definition at line 65 of file interrogateElement.h.

Referenced by input(), output(), remap_indices(), and InterrogateBuilder::scan_element().

string InterrogateElement::_scoped_name [private]
 

Definition at line 63 of file interrogateElement.h.

Referenced by input(), output(), and InterrogateBuilder::scan_element().

FunctionIndex InterrogateElement::_setter [private]
 

Definition at line 66 of file interrogateElement.h.

Referenced by input(), output(), remap_indices(), and InterrogateBuilder::scan_element().

TypeIndex InterrogateElement::_type [private]
 

Definition at line 64 of file interrogateElement.h.

Referenced by input(), output(), remap_indices(), and InterrogateBuilder::scan_element().


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