Parses nodes and cables from a .vuo composition file.
Definition at line 35 of file VuoCompilerGraphvizParser.hh.
Public Member Functions | |
vector< VuoNode * > | getNodes (void) |
Returns a list of all the nodes in this composition in the order they were listed in the .vuo file, excluding any psuedo-nodes of class vuo.in or vuo.out. More... | |
vector< VuoCable * > | getCables (void) |
Returns a list of all the cables in this composition in the order they were listed in the .vuo file, excluding any pseudo-cables connected to pseudo-nodes of class vuo.in or vuo.out. More... | |
vector< VuoComment * > | getComments (void) |
Returns a list of all the comments in this composition in the order they were listed in the .vuo file. More... | |
vector< VuoPublishedPort * > | getPublishedInputPorts (void) |
Returns a consistently-ordered list of all published input ports in this composition. More... | |
vector< VuoPublishedPort * > | getPublishedOutputPorts (void) |
Returns a consistently-ordered list of all published output ports in this composition. More... | |
VuoNode * | getManuallyFirableInputNode (void) |
Returns the node containing the manually-firable input port, or null if none was specified in the .vuo file. More... | |
VuoPort * | getManuallyFirableInputPort (void) |
Returns the manually-firable input port, or null if none was specified in the .vuo file. More... | |
VuoCompositionMetadata * | getMetadata (void) |
Returns the composition metadata. More... | |
Static Public Member Functions | |
static VuoCompilerGraphvizParser * | newParserFromCompositionFile (const string &path, VuoCompiler *compiler) |
Parses the .vuo file at path, using the node classes provided by the compiler. More... | |
static VuoCompilerGraphvizParser * | newParserFromCompositionString (const string &composition, VuoCompiler *compiler) |
Parses a .vuo-formatted string, using the node classes provided by the compiler. More... | |
static set< string > | getNodeClassNamesFromCompositionFile (const string &path) |
Parses just the node class names from the .vuo file at path. More... | |
vector< VuoCable * > VuoCompilerGraphvizParser::getCables | ( | void | ) |
Returns a list of all the cables in this composition in the order they were listed in the .vuo file, excluding any pseudo-cables connected to pseudo-nodes of class vuo.in or vuo.out.
Definition at line 1101 of file VuoCompilerGraphvizParser.cc.
vector< VuoComment * > VuoCompilerGraphvizParser::getComments | ( | void | ) |
Returns a list of all the comments in this composition in the order they were listed in the .vuo file.
Definition at line 1109 of file VuoCompilerGraphvizParser.cc.
VuoNode * VuoCompilerGraphvizParser::getManuallyFirableInputNode | ( | void | ) |
Returns the node containing the manually-firable input port, or null if none was specified in the .vuo file.
Definition at line 1134 of file VuoCompilerGraphvizParser.cc.
VuoPort * VuoCompilerGraphvizParser::getManuallyFirableInputPort | ( | void | ) |
Returns the manually-firable input port, or null if none was specified in the .vuo file.
Definition at line 1142 of file VuoCompilerGraphvizParser.cc.
VuoCompositionMetadata * VuoCompilerGraphvizParser::getMetadata | ( | void | ) |
Returns the composition metadata.
Definition at line 1150 of file VuoCompilerGraphvizParser.cc.
|
static |
Parses just the node class names from the .vuo file at path.
VuoCompilerException | Couldn't read the composition file or couldn't parse the composition. |
Definition at line 144 of file VuoCompilerGraphvizParser.cc.
vector< VuoNode * > VuoCompilerGraphvizParser::getNodes | ( | void | ) |
Returns a list of all the nodes in this composition in the order they were listed in the .vuo file, excluding any psuedo-nodes of class vuo.in or vuo.out.
Definition at line 1092 of file VuoCompilerGraphvizParser.cc.
vector< VuoPublishedPort * > VuoCompilerGraphvizParser::getPublishedInputPorts | ( | void | ) |
Returns a consistently-ordered list of all published input ports in this composition.
Definition at line 1118 of file VuoCompilerGraphvizParser.cc.
vector< VuoPublishedPort * > VuoCompilerGraphvizParser::getPublishedOutputPorts | ( | void | ) |
Returns a consistently-ordered list of all published output ports in this composition.
Definition at line 1126 of file VuoCompilerGraphvizParser.cc.
|
static |
Parses the .vuo file at path, using the node classes provided by the compiler.
VuoCompilerException | Couldn't read the composition file or couldn't parse the composition. |
Definition at line 57 of file VuoCompilerGraphvizParser.cc.
|
static |
Parses a .vuo-formatted string, using the node classes provided by the compiler.
VuoCompilerException | Couldn't parse the composition. |
Definition at line 82 of file VuoCompilerGraphvizParser.cc.