SyTen

◆ operator[]()

template<typename T >
Ptr syten::T3N::Tree::Tree< T >::operator[] ( Position const &  coordinate) const
inline

Returns the Ptr to the Node specified through the coordinate vector by the following syntax:

  1. The starting point is assumend to be the Root of the Tree.
  2. From here on each entry in the vector defines a leg to follow, 1 is the first (or left), 2 the second (or right) leg.
  3. An empty vector suggests the Root Pointer.

References syten::T3N::Tree::Node< T >::legNumber(), syten::T3N::Tree::Node< T >::Legs, syten::T3N::Tree::Tree< T >::Root, and std::vector< T >::size().

+ Here is the call graph for this function: