A listing of modules and other dependencies contained in an actual or hypothetical VuoModuleCache.
Definition at line 17 of file VuoModuleCacheManifest.hh.
Public Member Functions | |
VuoModuleCacheManifest (void) | |
Constructs an empty manifest. | |
void | addModule (const string &moduleKey, bool isOverridden) |
Adds a module key to the manifest. | |
void | addDependency (const string &dependency) |
Adds a dependency other than a module key to the manifest. | |
void | addContentsOf (const VuoModuleCacheManifest &other) |
Adds the contents of other to this manifest. | |
bool | hasSameContentsAs (const VuoModuleCacheManifest &other) const |
Returns true if this manifest contains exactly the same dependencies (with same overridden status) as other. | |
void | readFromFile (const string &manifestFilePath) |
Adds the contents listed in manifestFilePath to this manifest. | |
void | writeToFile (const string &manifestFilePath) const |
Writes the list of contents in this manifest to manifestFilePath. | |
bool | contains (const string &content) const |
Returns true if content is one of the module keys or other dependencies listed in this manifest. | |
set< string > | getContents (void) const |
Returns a list of all module keys and dependencies names in this manifest. | |
VuoModuleCacheManifest::VuoModuleCacheManifest | ( | void | ) |
Constructs an empty manifest.
Definition at line 17 of file VuoModuleCacheManifest.cc.
void VuoModuleCacheManifest::addContentsOf | ( | const VuoModuleCacheManifest & | other | ) |
Adds the contents of other to this manifest.
Definition at line 40 of file VuoModuleCacheManifest.cc.
void VuoModuleCacheManifest::addDependency | ( | const string & | dependency | ) |
Adds a dependency other than a module key to the manifest.
Definition at line 32 of file VuoModuleCacheManifest.cc.
void VuoModuleCacheManifest::addModule | ( | const string & | moduleKey, |
bool | isOverridden | ||
) |
Adds a module key to the manifest.
Definition at line 24 of file VuoModuleCacheManifest.cc.
bool VuoModuleCacheManifest::contains | ( | const string & | content | ) | const |
Returns true if content is one of the module keys or other dependencies listed in this manifest.
Definition at line 91 of file VuoModuleCacheManifest.cc.
set< string > VuoModuleCacheManifest::getContents | ( | void | ) | const |
Returns a list of all module keys and dependencies names in this manifest.
Definition at line 99 of file VuoModuleCacheManifest.cc.
bool VuoModuleCacheManifest::hasSameContentsAs | ( | const VuoModuleCacheManifest & | other | ) | const |
Returns true if this manifest contains exactly the same dependencies (with same overridden status) as other.
Definition at line 49 of file VuoModuleCacheManifest.cc.
void VuoModuleCacheManifest::readFromFile | ( | const string & | manifestFilePath | ) |
Adds the contents listed in manifestFilePath to this manifest.
Definition at line 57 of file VuoModuleCacheManifest.cc.
void VuoModuleCacheManifest::writeToFile | ( | const string & | manifestFilePath | ) | const |
Writes the list of contents in this manifest to manifestFilePath.
Definition at line 75 of file VuoModuleCacheManifest.cc.