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

#include <opencv2/core/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

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

Member Function Documentation

template<class OBJECT>
void cv::Node< OBJECT >::addChild ( Node< OBJECT > *  pNode)
inline
template<class OBJECT>
Node<OBJECT>* cv::Node< OBJECT >::findChild ( OBJECT &  payload) const
inline
template<class OBJECT>
int cv::Node< OBJECT >::findChild ( Node< OBJECT > *  pNode) const
inline
template<class OBJECT>
int cv::Node< OBJECT >::getDepth ( )
inline
template<class OBJECT>
void cv::Node< OBJECT >::removeChilds ( )
inline

Member Data Documentation

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

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