OSVR-Core
Public Member Functions | List of all members
DOTGraphOutput Class Reference
Inheritance diagram for DOTGraphOutput:
GraphOutputInterface

Public Member Functions

 DOTGraphOutput (std::ostream &stream)
 
virtual ~DOTGraphOutput ()
 
virtual NodeInterfaceaddNode (std::string const &label, std::string const &fullPath, std::string const &type)
 
virtual NodeInterfacegetNode (std::string const &fullPath)
 
virtual void addEdge (NodeInterface &tail, NodeInterface &head, std::string const &type, std::string const &data=std::string())
 
void addEdge (DOTNode &tail, DOTNode &head, std::string const &attributes=std::string())
 
virtual void enableTreeOrganization ()
 Sets a flag indicating that we should try to organize nodes in the path tree structure. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GraphOutputInterface
static osvr::unique_ptr< GraphOutputInterfacecreateGraphOutputInterface (std::ostream &os, std::string const &type)
 Factory method.
 

Constructor & Destructor Documentation

§ ~DOTGraphOutput()

DOTGraphOutput::~DOTGraphOutput ( )
virtual

Output only the referenced nodes

Specify the nodes that should be on the same "rank" for the tree structure.

This node wasn't referenced.

Member Function Documentation

§ addEdge()

void DOTGraphOutput::addEdge ( NodeInterface tail,
NodeInterface head,
std::string const &  type,
std::string const &  data = std::string() 
)
virtual
Todo:
not including

transform because we'd have to escape characters.

Implements GraphOutputInterface.

§ enableTreeOrganization()

void DOTGraphOutput::enableTreeOrganization ( )
virtual

Sets a flag indicating that we should try to organize nodes in the path tree structure.

Implements GraphOutputInterface.


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