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

FunctionWriters Class Reference

A set of zero or more FunctionWriter pointers accumulated by the various InterfaceMaker objects that are generating code for one particular output source file. More...

#include <functionWriters.h>

List of all members.

Public Member Functions

 FunctionWriters ()
 ~FunctionWriters ()
FunctionWriteradd_writer (FunctionWriter *writer)
 Adds the indicated FunctionWriter to the set of functions to be written, unless there is already a matching FunctionWriter.

void write_prototypes (ostream &out)
 Generates prototypes for all of the functions.

void write_code (ostream &out)
 Generates all of the functions.


Protected Types

typedef set< FunctionWriter *,
IndirectCompareTo
Writers

Protected Attributes

Writers _writers


Detailed Description

A set of zero or more FunctionWriter pointers accumulated by the various InterfaceMaker objects that are generating code for one particular output source file.

Definition at line 43 of file functionWriters.h.


Member Typedef Documentation

typedef set<FunctionWriter *, IndirectCompareTo> FunctionWriters::Writers [protected]
 

Definition at line 61 of file functionWriters.h.


Constructor & Destructor Documentation

FunctionWriters::FunctionWriters  ) 
 

Definition at line 32 of file functionWriters.cxx.

References _writers.

FunctionWriters::~FunctionWriters  ) 
 

Definition at line 43 of file functionWriters.cxx.

References _writers.


Member Function Documentation

FunctionWriter * FunctionWriters::add_writer FunctionWriter writer  ) 
 

Adds the indicated FunctionWriter to the set of functions to be written, unless there is already a matching FunctionWriter.

The return value is the FunctionWriter pointer that was added to the set, which may be the same pointer or a previously-allocated (but equivalent) pointer.

Definition at line 71 of file functionWriters.cxx.

References _writers, and FunctionWriter::write_prototype().

void FunctionWriters::write_code ostream &  out  ) 
 

Generates all of the functions.

Definition at line 108 of file functionWriters.cxx.

void FunctionWriters::write_prototypes ostream &  out  ) 
 

Generates prototypes for all of the functions.

Definition at line 91 of file functionWriters.cxx.


Member Data Documentation

Writers FunctionWriters::_writers [protected]
 

Definition at line 62 of file functionWriters.h.

Referenced by add_writer(), FunctionWriters(), and ~FunctionWriters().


The documentation for this class was generated from the following files:
Generated on Thu May 1 22:13:33 2003 for DTool by doxygen1.3