OpenCV  3.2.0
Open Source Computer Vision
Public Member Functions | Public Attributes | List of all members
cv::Node< OBJECT > Class Template Reference

#include "utility.hpp"

Public Member Functions

 Node ()
 
 Node (OBJECT &payload)
 
 ~Node ()
 
void addChild (Node< OBJECT > *pNode)
 
Node< OBJECT > * findChild (OBJECT &payload) const
 
int findChild (Node< OBJECT > *pNode) const
 
int getDepth ()
 
void removeChilds ()
 

Public Attributes

std::vector< Node< OBJECT > * > m_childs
 
OBJECT m_payload
 
Node< OBJECT > * m_pParent
 

Constructor & Destructor Documentation

◆ Node() [1/2]

template<class OBJECT>
cv::Node< OBJECT >::Node ( )

◆ Node() [2/2]

template<class OBJECT>
cv::Node< OBJECT >::Node ( OBJECT &  payload)

◆ ~Node()

template<class OBJECT>
cv::Node< OBJECT >::~Node ( )

Member Function Documentation

◆ addChild()

template<class OBJECT>
void cv::Node< OBJECT >::addChild ( Node< OBJECT > *  pNode)

◆ findChild() [1/2]

template<class OBJECT>
Node<OBJECT>* cv::Node< OBJECT >::findChild ( OBJECT &  payload) const

◆ findChild() [2/2]

template<class OBJECT>
int cv::Node< OBJECT >::findChild ( Node< OBJECT > *  pNode) const

◆ getDepth()

template<class OBJECT>
int cv::Node< OBJECT >::getDepth ( )

◆ removeChilds()

template<class OBJECT>
void cv::Node< OBJECT >::removeChilds ( )

Member Data Documentation

◆ m_childs

template<class OBJECT>
std::vector<Node<OBJECT>*> cv::Node< OBJECT >::m_childs

◆ m_payload

template<class OBJECT>
OBJECT cv::Node< OBJECT >::m_payload

◆ m_pParent

template<class OBJECT>
Node<OBJECT>* cv::Node< OBJECT >::m_pParent

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