OpenCV  3.4.2
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 ( )
inline

§ Node() [2/2]

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

§ ~Node()

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

Member Function Documentation

§ addChild()

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

§ findChild() [1/2]

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

§ findChild() [2/2]

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

§ getDepth()

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

§ removeChilds()

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

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: