RecursiveTypedVisitor< T1, T2 > Struct Template Referenceabstract

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

+ Inheritance diagram for RecursiveTypedVisitor< T1, T2 >:

Public Types

using DataInput = typename TypedVisitorBase< T1, T2 >::DataInput
 
using DataInputNonConst = typename std::remove_const< DataInput >::type
 
using ListElements = std::vector< std::pair< DataInputNonConst, TypeInputNonConst > >
 
using MapElements = std::map< std::string, std::pair< DataInputNonConst, TypeInputNonConst > >
 
using PairElements = std::pair< std::pair< DataInputNonConst, TypeInputNonConst >, std::pair< DataInputNonConst, TypeInputNonConst > >
 
using TupleElements = std::vector< std::pair< DataInputNonConst, TypeInputNonConst > >
 
using TypeInput = typename TypedVisitorBase< T1, T2 >::TypeInput
 
using TypeInputNonConst = typename std::remove_const< TypeInput >::type
 
- Public Types inherited from TypedVisitorBase< T1, T2 >
using DataInput = T1
 
using TypeInput = T2
 

Public Member Functions

virtual MapElements getDictElements (DataInput &, TypeInput &)=0
 
virtual ListElements getListElements (DataInput &, TypeInput &)=0
 
virtual MapElements getObjectElements (DataInput &, TypeInput &)=0
 
virtual PairElements getPairElements (DataInput &, TypeInput &)=0
 
virtual TupleElements getTupleElements (DataInput &, TypeInput &)=0
 
virtual void visitAnyObject (DataInput &elementData, TypeInput &elementType)
 
virtual void visitBool (DataInput &elementData, TypeInput &elementType)
 
virtual void visitDictOnEnter (DataInput &elementData, TypeInput &elementType)
 
virtual void visitDictOnExit (DataInput &elementData, TypeInput &elementType)
 
virtual void visitDouble (DataInput &elementData, TypeInput &elementType)
 
virtual void visitFloat (DataInput &elementData, TypeInput &elementType)
 
virtual void visitImage (DataInput &elementData, TypeInput &elementType)
 
virtual void visitInt (DataInput &elementData, TypeInput &elementType)
 
virtual void visitIntEnum (DataInput &elementData, TypeInput &elementType)
 
virtual void visitListOnEnter (DataInput &elementData, TypeInput &elementType)
 
virtual void visitListOnExit (DataInput &elementData, TypeInput &elementType)
 
virtual void visitLong (DataInput &elementData, TypeInput &elementType)
 
virtual void visitMatrix (DataInput &elementData, TypeInput &elementType)
 
virtual void visitNDArray (DataInput &elementData, TypeInput &elementType)
 
virtual void visitObjectOnEnter (DataInput &elementData, TypeInput &elementType)
 
virtual void visitObjectOnExit (DataInput &elementData, TypeInput &elementType)
 
virtual void visitPairOnEnter (DataInput &elementData, TypeInput &elementType)
 
virtual void visitPairOnExit (DataInput &elementData, TypeInput &elementType)
 
virtual void visitPointCloud (DataInput &elementData, TypeInput &elementType)
 
virtual void visitQuaternion (DataInput &elementData, TypeInput &elementType)
 
virtual void visitString (DataInput &elementData, TypeInput &elementType)
 
virtual void visitTupleOnEnter (DataInput &elementData, TypeInput &elementType)
 
virtual void visitTupleOnExit (DataInput &elementData, TypeInput &elementType)
 
virtual void visitUnknown (DataInput &elementData, TypeInput &elementType)
 
virtual ~RecursiveTypedVisitor ()=default
 
- Public Member Functions inherited from TypedVisitorBase< T1, T2 >
virtual type::Descriptor getDescriptor (DataInput &, TypeInput &)=0
 
virtual ~TypedVisitorBase ()=default
 

Detailed Description

template<class T1, class T2>
struct armarx::aron::data::RecursiveTypedVisitor< T1, T2 >

See also
type/visitor/RecursiveVisitor.h

Definition at line 78 of file RecursiveVisitor.h.

Member Typedef Documentation

◆ DataInput

using DataInput = typename TypedVisitorBase<T1, T2>::DataInput

Definition at line 80 of file RecursiveVisitor.h.

◆ DataInputNonConst

using DataInputNonConst = typename std::remove_const<DataInput>::type

Definition at line 84 of file RecursiveVisitor.h.

◆ ListElements

using ListElements = std::vector<std::pair<DataInputNonConst, TypeInputNonConst> >

Definition at line 87 of file RecursiveVisitor.h.

◆ MapElements

using MapElements = std::map<std::string, std::pair<DataInputNonConst, TypeInputNonConst> >

Definition at line 86 of file RecursiveVisitor.h.

◆ PairElements

Definition at line 88 of file RecursiveVisitor.h.

◆ TupleElements

using TupleElements = std::vector<std::pair<DataInputNonConst, TypeInputNonConst> >

Definition at line 89 of file RecursiveVisitor.h.

◆ TypeInput

using TypeInput = typename TypedVisitorBase<T1, T2>::TypeInput

Definition at line 81 of file RecursiveVisitor.h.

◆ TypeInputNonConst

using TypeInputNonConst = typename std::remove_const<TypeInput>::type

Definition at line 83 of file RecursiveVisitor.h.

Constructor & Destructor Documentation

◆ ~RecursiveTypedVisitor()

virtual ~RecursiveTypedVisitor ( )
virtualdefault

Member Function Documentation

◆ getDictElements()

virtual MapElements getDictElements ( DataInput ,
TypeInput  
)
pure virtual

◆ getListElements()

virtual ListElements getListElements ( DataInput ,
TypeInput  
)
pure virtual

◆ getObjectElements()

◆ getPairElements()

virtual PairElements getPairElements ( DataInput ,
TypeInput  
)
pure virtual

◆ getTupleElements()

virtual TupleElements getTupleElements ( DataInput ,
TypeInput  
)
pure virtual

◆ visitAnyObject()

virtual void visitAnyObject ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

Definition at line 120 of file RecursiveVisitor.h.

◆ visitBool()

virtual void visitBool ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitDictOnEnter()

virtual void visitDictOnEnter ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitDictOnExit()

virtual void visitDictOnExit ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitDouble()

virtual void visitDouble ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitFloat()

virtual void visitFloat ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitImage()

virtual void visitImage ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

Reimplemented in TreeTypedJSONConverter, and RecursiveConstTypedVariantVisitor.

Definition at line 111 of file RecursiveVisitor.h.

◆ visitInt()

virtual void visitInt ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitIntEnum()

virtual void visitIntEnum ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitListOnEnter()

virtual void visitListOnEnter ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitListOnExit()

virtual void visitListOnExit ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitLong()

virtual void visitLong ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

Reimplemented in TreeTypedJSONConverter, and RecursiveConstTypedVariantVisitor.

Definition at line 115 of file RecursiveVisitor.h.

◆ visitMatrix()

virtual void visitMatrix ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitNDArray()

virtual void visitNDArray ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

Reimplemented in TreeTypedJSONConverter, and RecursiveConstTypedVariantVisitor.

Definition at line 109 of file RecursiveVisitor.h.

◆ visitObjectOnEnter()

virtual void visitObjectOnEnter ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitObjectOnExit()

virtual void visitObjectOnExit ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitPairOnEnter()

virtual void visitPairOnEnter ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

Reimplemented in TreeTypedJSONConverter, and RecursiveConstTypedVariantVisitor.

Definition at line 101 of file RecursiveVisitor.h.

◆ visitPairOnExit()

virtual void visitPairOnExit ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

Reimplemented in TreeTypedJSONConverter, and RecursiveConstTypedVariantVisitor.

Definition at line 102 of file RecursiveVisitor.h.

◆ visitPointCloud()

virtual void visitPointCloud ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

Reimplemented in TreeTypedJSONConverter, and RecursiveConstTypedVariantVisitor.

Definition at line 112 of file RecursiveVisitor.h.

◆ visitQuaternion()

virtual void visitQuaternion ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitString()

virtual void visitString ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

◆ visitTupleOnEnter()

virtual void visitTupleOnEnter ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

Reimplemented in TreeTypedJSONConverter, and RecursiveConstTypedVariantVisitor.

Definition at line 103 of file RecursiveVisitor.h.

◆ visitTupleOnExit()

virtual void visitTupleOnExit ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

Reimplemented in TreeTypedJSONConverter, and RecursiveConstTypedVariantVisitor.

Definition at line 104 of file RecursiveVisitor.h.

◆ visitUnknown()

virtual void visitUnknown ( DataInput elementData,
TypeInput elementType 
)
inlinevirtual

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