RecursiveVisitor< T > Struct Template Referenceabstract

#include <RobotAPI/libraries/aron/core/data/visitor/RecursiveVisitor.h>

+ Inheritance diagram for RecursiveVisitor< T >:

Public Types

using Input = typename VisitorBase< T >::Input
 
using InputNonConst = typename std::remove_const< Input >::type
 
using ListElements = std::vector< InputNonConst >
 
using MapElements = std::map< std::string, InputNonConst >
 
- Public Types inherited from VisitorBase< T >
using Input = T
 

Public Member Functions

virtual MapElements getDictElements (Input &)=0
 
virtual ListElements getListElements (Input &)=0
 
virtual void visitBool (Input &element)
 
virtual void visitDictOnEnter (Input &element)
 
virtual void visitDictOnExit (Input &element)
 
virtual void visitDouble (Input &element)
 
virtual void visitFloat (Input &element)
 
virtual void visitInt (Input &element)
 
virtual void visitListOnEnter (Input &element)
 
virtual void visitListOnExit (Input &element)
 
virtual void visitLong (Input &element)
 
virtual void visitNDArray (Input &element)
 
virtual void visitString (Input &element)
 
virtual void visitUnknown (Input &element)
 
virtual ~RecursiveVisitor ()=default
 
- Public Member Functions inherited from VisitorBase< T >
virtual data::Descriptor getDescriptor (Input &)=0
 
virtual ~VisitorBase ()=default
 

Detailed Description

template<class T>
struct armarx::aron::data::RecursiveVisitor< T >

See also
type/visitor/RecursiveVisitor.h

Definition at line 37 of file RecursiveVisitor.h.

Member Typedef Documentation

◆ Input

using Input = typename VisitorBase<T>::Input

Definition at line 39 of file RecursiveVisitor.h.

◆ InputNonConst

using InputNonConst = typename std::remove_const<Input>::type

Definition at line 40 of file RecursiveVisitor.h.

◆ ListElements

using ListElements = std::vector<InputNonConst>

Definition at line 43 of file RecursiveVisitor.h.

◆ MapElements

using MapElements = std::map<std::string, InputNonConst>

Definition at line 42 of file RecursiveVisitor.h.

Constructor & Destructor Documentation

◆ ~RecursiveVisitor()

virtual ~RecursiveVisitor ( )
virtualdefault

Member Function Documentation

◆ getDictElements()

virtual MapElements getDictElements ( Input )
pure virtual

◆ getListElements()

virtual ListElements getListElements ( Input )
pure virtual

◆ visitBool()

virtual void visitBool ( Input element)
inlinevirtual

◆ visitDictOnEnter()

virtual void visitDictOnEnter ( Input element)
inlinevirtual

◆ visitDictOnExit()

virtual void visitDictOnExit ( Input element)
inlinevirtual

Reimplemented in RecursiveVariantVisitor, and RecursiveConstVariantVisitor.

Definition at line 49 of file RecursiveVisitor.h.

◆ visitDouble()

virtual void visitDouble ( Input element)
inlinevirtual

◆ visitFloat()

virtual void visitFloat ( Input element)
inlinevirtual

◆ visitInt()

virtual void visitInt ( Input element)
inlinevirtual

◆ visitListOnEnter()

virtual void visitListOnEnter ( Input element)
inlinevirtual

Reimplemented in RecursiveVariantVisitor, and RecursiveConstVariantVisitor.

Definition at line 50 of file RecursiveVisitor.h.

◆ visitListOnExit()

virtual void visitListOnExit ( Input element)
inlinevirtual

Reimplemented in RecursiveVariantVisitor, and RecursiveConstVariantVisitor.

Definition at line 51 of file RecursiveVisitor.h.

◆ visitLong()

virtual void visitLong ( Input element)
inlinevirtual

◆ visitNDArray()

virtual void visitNDArray ( Input element)
inlinevirtual

◆ visitString()

virtual void visitString ( Input element)
inlinevirtual

Reimplemented in RecursiveVariantVisitor, and RecursiveConstVariantVisitor.

Definition at line 59 of file RecursiveVisitor.h.

◆ visitUnknown()

virtual void visitUnknown ( Input element)
inlinevirtual

Reimplemented in DepthImageExtractorVisitor, and ImageExtractorVisitor.

Definition at line 60 of file RecursiveVisitor.h.


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