Vuo 2.4.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VuoModuleCacheManifest Class Reference

Description

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.
 

Constructor & Destructor Documentation

◆ VuoModuleCacheManifest()

VuoModuleCacheManifest::VuoModuleCacheManifest ( void  )

Constructs an empty manifest.

Definition at line 17 of file VuoModuleCacheManifest.cc.

Member Function Documentation

◆ addContentsOf()

void VuoModuleCacheManifest::addContentsOf ( const VuoModuleCacheManifest other)

Adds the contents of other to this manifest.

Definition at line 40 of file VuoModuleCacheManifest.cc.

◆ addDependency()

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.

◆ addModule()

void VuoModuleCacheManifest::addModule ( const string &  moduleKey,
bool  isOverridden 
)

Adds a module key to the manifest.

Definition at line 24 of file VuoModuleCacheManifest.cc.

◆ contains()

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.

◆ getContents()

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.

◆ hasSameContentsAs()

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.

◆ readFromFile()

void VuoModuleCacheManifest::readFromFile ( const string &  manifestFilePath)

Adds the contents listed in manifestFilePath to this manifest.

Definition at line 57 of file VuoModuleCacheManifest.cc.

◆ writeToFile()

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.


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