Vuo  0.5.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
VuoCompilerGraphvizParser Class Reference

Description

Parses nodes and edges from a .vuo composition file.

Public Member Functions

 VuoCompilerGraphvizParser (const string &path, VuoCompiler *compiler=NULL)
 Parse the .vuo file at path, using the node classes provided by the compiler.
 
 VuoCompilerGraphvizParser (FILE *file, VuoCompiler *compiler=NULL)
 Parse a .vuo file, using the node classes provided by the compiler.
 
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.
 
vector< string > getUnknownNodeClasses (void)
 Returns a list of node classes used by this composition whose implementations don't exist in the compiler's specified node class paths.
 
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.
 
vector
< VuoCompilerPublishedPort * > 
getPublishedInputPorts (void)
 Returns a consistently-ordered list of all published input ports in this composition.
 
vector
< VuoCompilerPublishedPort * > 
getPublishedOutputPorts (void)
 Returns a consistently-ordered list of all published output ports in this composition.
 
VuoNodegetPublishedInputNode (void)
 Returns the pseudo-node of class "vuo.in" in the composition, or null if the composition does not have one.
 
VuoNodegetPublishedOutputNode (void)
 Returns the pseudo-node of class "vuo.out" in the composition, or null if the composition does not have one.
 
vector< VuoCable * > getPublishedInputCables (void)
 Returns the pseudo-cables attached to the output ports of the published input psuedo-node, if any.
 
vector< VuoCable * > getPublishedOutputCables (void)
 Returns the pseudo-cables attached to the input ports of the published output psuedo-node, if any.
 

Constructor & Destructor Documentation

VuoCompilerGraphvizParser::VuoCompilerGraphvizParser ( const string &  path,
VuoCompiler compiler = NULL 
)

Parse the .vuo file at path, using the node classes provided by the compiler.

VuoCompilerGraphvizParser::VuoCompilerGraphvizParser ( FILE *  file,
VuoCompiler compiler = NULL 
)

Parse a .vuo file, using the node classes provided by the compiler.

Member Function Documentation

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.

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.

vector< VuoCable * > VuoCompilerGraphvizParser::getPublishedInputCables ( void  )

Returns the pseudo-cables attached to the output ports of the published input psuedo-node, if any.

VuoNode * VuoCompilerGraphvizParser::getPublishedInputNode ( void  )

Returns the pseudo-node of class "vuo.in" in the composition, or null if the composition does not have one.

vector< VuoCompilerPublishedPort * > VuoCompilerGraphvizParser::getPublishedInputPorts ( void  )

Returns a consistently-ordered list of all published input ports in this composition.

vector< VuoCable * > VuoCompilerGraphvizParser::getPublishedOutputCables ( void  )

Returns the pseudo-cables attached to the input ports of the published output psuedo-node, if any.

VuoNode * VuoCompilerGraphvizParser::getPublishedOutputNode ( void  )

Returns the pseudo-node of class "vuo.out" in the composition, or null if the composition does not have one.

vector< VuoCompilerPublishedPort * > VuoCompilerGraphvizParser::getPublishedOutputPorts ( void  )

Returns a consistently-ordered list of all published output ports in this composition.

vector< string > VuoCompilerGraphvizParser::getUnknownNodeClasses ( void  )

Returns a list of node classes used by this composition whose implementations don't exist in the compiler's specified node class paths.


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