#include <deptab.h>
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 () | |
ModuleDepData * | findModule (const String &name) const |
bool | load (Module *mod, Stream *in) |
bool | save (Stream *out) const |
~DependTable () |
Actually it's just a string map supporting module-aware serialization. The strings are actually held in the module string table.
Falcon::DependTable::DependTable | ( | ) |
Falcon::DependTable::~DependTable | ( | ) |
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.
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::save | ( | Stream * | out | ) | const |