VL
Public Member Functions | Protected Member Functions | Friends | List of all members
vl::VarNodeRegistry Class Reference

#include <VLBackwardTraversable.h>

Public Member Functions

 VarNodeRegistry (vl::AbstractVar *rootData)
 
const std::string & GetId (const VarTreeNode *node) const
 
int GetIndex (const VarTreeNode *node) const
 
const VarTreeNodeGetNode (const vl::Var &varPtr) const
 
const VarTreeNodeGetNode (const std::string &path) const
 
VarTreeNodeGetTree ()
 

Protected Member Functions

VarTreeNodePtr CreateNode (vl::Var &data, VarTreeNode *parent)
 
VarTreeNodePtr CreateNamedNode (const std::string &nodeId, vl::Var &data, VarTreeNode *parent)
 
VarTreeNodePtr CreateIndexedNode (int index, vl::Var &data, VarTreeNode *parent)
 
bool RemoveNode (const VarTreeNode *node)
 

Friends

class VarTreeNode
 
class ObjectTreeNode
 
class ListTreeNode
 

Constructor & Destructor Documentation

◆ VarNodeRegistry()

vl::VarNodeRegistry::VarNodeRegistry ( vl::AbstractVar *  rootData)

Member Function Documentation

◆ CreateIndexedNode()

vl::VarTreeNodePtr vl::VarNodeRegistry::CreateIndexedNode ( int  index,
vl::Var &  data,
VarTreeNode parent 
)
protected

◆ CreateNamedNode()

vl::VarTreeNodePtr vl::VarNodeRegistry::CreateNamedNode ( const std::string &  nodeId,
vl::Var &  data,
VarTreeNode parent 
)
protected

◆ CreateNode()

vl::VarTreeNodePtr vl::VarNodeRegistry::CreateNode ( vl::Var &  data,
VarTreeNode parent 
)
protected

◆ GetId()

const std::string & vl::VarNodeRegistry::GetId ( const VarTreeNode node) const

◆ GetIndex()

int vl::VarNodeRegistry::GetIndex ( const VarTreeNode node) const

◆ GetNode() [1/2]

const vl::VarTreeNode * vl::VarNodeRegistry::GetNode ( const std::string &  path) const

◆ GetNode() [2/2]

const vl::VarTreeNode * vl::VarNodeRegistry::GetNode ( const vl::Var &  varPtr) const

◆ GetTree()

VarTreeNode & vl::VarNodeRegistry::GetTree ( )
inline

◆ RemoveNode()

bool vl::VarNodeRegistry::RemoveNode ( const VarTreeNode node)
protected

Friends And Related Function Documentation

◆ ListTreeNode

friend class ListTreeNode
friend

◆ ObjectTreeNode

friend class ObjectTreeNode
friend

◆ VarTreeNode

friend class VarTreeNode
friend

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