Falcon::DependTable Class Reference

Module dependency table. More...

#include <deptab.h>

Inheritance diagram for Falcon::DependTable:

Inheritance graph
[legend]

List of all members.

Public Member Functions

void addDependency (const String *name, bool bPrivate=false)
 Adds a dependency to the table.
void addDependency (const String *alias, const String *name, bool bPrivate)
 Adds a dependency to the table.
 DependTable ()
ModuleDepDatafindModule (const String &name) const
bool load (Module *mod, Stream *in)
bool save (Stream *out) const
 ~DependTable ()


Detailed Description

Module dependency table.

Actually it's just a string map supporting module-aware serialization. The strings are actually held in the module string table.


Constructor & Destructor Documentation

Falcon::DependTable::DependTable (  ) 

Falcon::DependTable::~DependTable (  ) 


Member Function Documentation

void Falcon::DependTable::addDependency ( const String name,
bool  bPrivate = false 
) [inline]

Adds a dependency to the table.

This version of the function adds a dependency with the same physical or logical name as the local alias.

void Falcon::DependTable::addDependency ( const String alias,
const String name,
bool  bPrivate 
)

Adds a dependency to the table.

This method creates a new dependency entry with a given dependency local alias, a physical or logical module name and a privacy setting.

Note:
Strings must be pointers to Strings held in the module string table.
Parameters:
alias The local module alias.
name The logical or physical module name.
bPrivate true if the module is private, false to honor its exports.

ModuleDepData* Falcon::DependTable::findModule ( const String name  )  const [inline]

bool Falcon::DependTable::load ( Module mod,
Stream in 
)

bool Falcon::DependTable::save ( Stream out  )  const


The documentation for this class was generated from the following file:

Generated on Mon Oct 19 10:11:34 2009 for Falcon_Core by  doxygen 1.5.8