Vuo
0.5.2
|
This class represents a node set, which is a set of node classes and supporting files grouped together in an archive.
Public Member Functions | |
string | getName (void) |
Returns a name for this node set, based on the node set archive file name. | |
string | getDescription (void) |
Returns this node set's description. | |
string | getDescriptionForModule (VuoModule *module) |
Returns the description for the module if it's provided in a separate file within the node set. | |
vector< string > | getExampleCompositionFileNames (void) |
Returns the file names of the example compositions within this node set, in lexicographic order. | |
string | getExampleCompositionContents (string exampleCompositionFileName) |
Returns the contents of an example composition within this node set. | |
Static Public Member Functions | |
static VuoNodeSet * | createNodeSetForModule (VuoFileUtilities::File *moduleFile) |
Creates a VuoNodeSet for the archive that contains the given file. | |
|
static |
Creates a VuoNodeSet for the archive that contains the given file.
If the given file is not contained by an archive, returns null.
string VuoNodeSet::getDescription | ( | void | ) |
Returns this node set's description.
If this node set doesn't have a description, returns an empty string.
string VuoNodeSet::getDescriptionForModule | ( | VuoModule * | module | ) |
Returns the description for the module if it's provided in a separate file within the node set.
Otherwise, returns an empty string.
string VuoNodeSet::getExampleCompositionContents | ( | string | exampleCompositionFileName | ) |
Returns the contents of an example composition within this node set.
If the example composition doesn't exist, returns an empty string.
vector< string > VuoNodeSet::getExampleCompositionFileNames | ( | void | ) |
Returns the file names of the example compositions within this node set, in lexicographic order.
string VuoNodeSet::getName | ( | void | ) |
Returns a name for this node set, based on the node set archive file name.