RecursiveConstVariantVisitor Struct Reference

The RecursiveVariantVisitor struct. More...

#include <RobotAPI/libraries/aron/core/type/visitor/variant/VariantVisitor.h>

+ Inheritance diagram for RecursiveConstVariantVisitor:

Public Member Functions

type::Descriptor getDescriptor (Input &n) override
 
InputNonConst getDictAcceptedType (Input &t) override
 
InputNonConst getListAcceptedType (Input &t) override
 
ObjectElements getObjectAcceptedTypes (Input &t) override
 
PairElements getPairAcceptedTypes (Input &t) override
 
TupleElements getTupleAcceptedTypes (Input &t) override
 
void visitAnyObject (Input &) override
 
virtual void visitAronVariant (const type::AnyObjectPtr &)
 
virtual void visitAronVariant (const type::BoolPtr &)
 
virtual void visitAronVariant (const type::DoublePtr &)
 
virtual void visitAronVariant (const type::FloatPtr &)
 
virtual void visitAronVariant (const type::ImagePtr &)
 
virtual void visitAronVariant (const type::IntEnumPtr &)
 
virtual void visitAronVariant (const type::IntPtr &)
 
virtual void visitAronVariant (const type::LongPtr &)
 
virtual void visitAronVariant (const type::MatrixPtr &)
 
virtual void visitAronVariant (const type::NDArrayPtr &)
 
virtual void visitAronVariant (const type::PointCloudPtr &)
 
virtual void visitAronVariant (const type::QuaternionPtr &)
 
virtual void visitAronVariant (const type::StringPtr &)
 
virtual void visitAronVariantEnter (const type::DictPtr &)
 
virtual void visitAronVariantEnter (const type::ListPtr &)
 
virtual void visitAronVariantEnter (const type::ObjectPtr &)
 
virtual void visitAronVariantEnter (const type::PairPtr &)
 
virtual void visitAronVariantEnter (const type::TuplePtr &)
 
virtual void visitAronVariantExit (const type::DictPtr &)
 
virtual void visitAronVariantExit (const type::ListPtr &)
 
virtual void visitAronVariantExit (const type::ObjectPtr &)
 
virtual void visitAronVariantExit (const type::PairPtr &)
 
virtual void visitAronVariantExit (const type::TuplePtr &)
 
void visitBool (Input &) override
 
void visitDictOnEnter (Input &) override
 
void visitDictOnExit (Input &) override
 
void visitDouble (Input &) override
 
void visitFloat (Input &) override
 
void visitImage (Input &) override
 
void visitInt (Input &) override
 
void visitIntEnum (Input &) override
 
void visitListOnEnter (Input &) override
 
void visitListOnExit (Input &) override
 
void visitLong (Input &) override
 
void visitMatrix (Input &) override
 
void visitNDArray (Input &) override
 
void visitObjectOnEnter (Input &) override
 
void visitObjectOnExit (Input &) override
 
void visitPairOnEnter (Input &) override
 
void visitPairOnExit (Input &) override
 
void visitPointCloud (Input &) override
 
void visitQuaternion (Input &) override
 
void visitString (Input &) override
 
void visitTupleOnEnter (Input &) override
 
void visitTupleOnExit (Input &) override
 
virtual ~RecursiveConstVariantVisitor ()=default
 
- Public Member Functions inherited from RecursiveVisitor< const type::VariantPtr >
virtual void visitUnknown (Input &)
 
virtual ~RecursiveVisitor ()=default
 
- Public Member Functions inherited from VisitorBase< const type::VariantPtr >
virtual type::Descriptor getDescriptor (Input &)=0
 
virtual ~VisitorBase ()=default
 

Static Public Member Functions

static InputNonConst GetDictAcceptedType (Input &t)
 
static InputNonConst GetListAcceptedType (Input &t)
 
static ObjectElements GetObjectAcceptedTypes (Input &t)
 
static PairElements GetPairAcceptedTypes (Input &t)
 
static TupleElements GetTupleAcceptedTypes (Input &t)
 

Additional Inherited Members

- Public Types inherited from RecursiveVisitor< const type::VariantPtr >
using Input = typename VisitorBase< const type::VariantPtr >::Input
 
using InputNonConst = typename std::remove_const< Input >::type
 
using ObjectElements = std::map< std::string, InputNonConst >
 
using PairElements = std::pair< InputNonConst, InputNonConst >
 
using TupleElements = std::vector< InputNonConst >
 
- Public Types inherited from VisitorBase< const type::VariantPtr >
using Input = const type::VariantPtr
 

Detailed Description

The RecursiveVariantVisitor struct.

Already implements the methods to get the descriptor and children of an aron variant

Definition at line 89 of file VariantVisitor.h.

Constructor & Destructor Documentation

◆ ~RecursiveConstVariantVisitor()

virtual ~RecursiveConstVariantVisitor ( )
virtualdefault

Member Function Documentation

◆ getDescriptor()

type::Descriptor getDescriptor ( Input n)
override

Definition at line 270 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ GetDictAcceptedType()

RecursiveConstVariantVisitor::InputNonConst GetDictAcceptedType ( Input t)
static

Definition at line 289 of file VariantVisitor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDictAcceptedType()

RecursiveConstVariantVisitor::InputNonConst getDictAcceptedType ( Input t)
overridevirtual

Implements RecursiveVisitor< const type::VariantPtr >.

Definition at line 296 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ GetListAcceptedType()

RecursiveConstVariantVisitor::InputNonConst GetListAcceptedType ( Input t)
static

Definition at line 302 of file VariantVisitor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getListAcceptedType()

RecursiveConstVariantVisitor::InputNonConst getListAcceptedType ( Input t)
overridevirtual

Implements RecursiveVisitor< const type::VariantPtr >.

Definition at line 309 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ GetObjectAcceptedTypes()

RecursiveConstVariantVisitor::ObjectElements GetObjectAcceptedTypes ( Input t)
static

Definition at line 276 of file VariantVisitor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getObjectAcceptedTypes()

RecursiveConstVariantVisitor::ObjectElements getObjectAcceptedTypes ( Input t)
overridevirtual

Implements RecursiveVisitor< const type::VariantPtr >.

Definition at line 283 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ GetPairAcceptedTypes()

RecursiveConstVariantVisitor::PairElements GetPairAcceptedTypes ( Input t)
static

Definition at line 315 of file VariantVisitor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPairAcceptedTypes()

RecursiveConstVariantVisitor::PairElements getPairAcceptedTypes ( Input t)
overridevirtual

Implements RecursiveVisitor< const type::VariantPtr >.

Definition at line 322 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ GetTupleAcceptedTypes()

RecursiveConstVariantVisitor::TupleElements GetTupleAcceptedTypes ( Input t)
static

Definition at line 328 of file VariantVisitor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTupleAcceptedTypes()

RecursiveConstVariantVisitor::TupleElements getTupleAcceptedTypes ( Input t)
overridevirtual

Implements RecursiveVisitor< const type::VariantPtr >.

Definition at line 335 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitAnyObject()

void visitAnyObject ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 495 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitAronVariant() [1/13]

void visitAronVariant ( const type::AnyObjectPtr )
virtual

Definition at line 612 of file VariantVisitor.cpp.

◆ visitAronVariant() [2/13]

void visitAronVariant ( const type::BoolPtr )
virtual

Definition at line 602 of file VariantVisitor.cpp.

◆ visitAronVariant() [3/13]

void visitAronVariant ( const type::DoublePtr )
virtual

Definition at line 597 of file VariantVisitor.cpp.

◆ visitAronVariant() [4/13]

void visitAronVariant ( const type::FloatPtr )
virtual

Definition at line 592 of file VariantVisitor.cpp.

◆ visitAronVariant() [5/13]

void visitAronVariant ( const type::ImagePtr )
virtual

Definition at line 567 of file VariantVisitor.cpp.

◆ visitAronVariant() [6/13]

void visitAronVariant ( const type::IntEnumPtr )
virtual

Definition at line 577 of file VariantVisitor.cpp.

◆ visitAronVariant() [7/13]

void visitAronVariant ( const type::IntPtr )
virtual

Definition at line 582 of file VariantVisitor.cpp.

◆ visitAronVariant() [8/13]

void visitAronVariant ( const type::LongPtr )
virtual

Definition at line 587 of file VariantVisitor.cpp.

◆ visitAronVariant() [9/13]

void visitAronVariant ( const type::MatrixPtr )
virtual

Definition at line 557 of file VariantVisitor.cpp.

+ Here is the caller graph for this function:

◆ visitAronVariant() [10/13]

void visitAronVariant ( const type::NDArrayPtr )
virtual

Definition at line 552 of file VariantVisitor.cpp.

◆ visitAronVariant() [11/13]

void visitAronVariant ( const type::PointCloudPtr )
virtual

Definition at line 572 of file VariantVisitor.cpp.

◆ visitAronVariant() [12/13]

void visitAronVariant ( const type::QuaternionPtr )
virtual

Definition at line 562 of file VariantVisitor.cpp.

◆ visitAronVariant() [13/13]

void visitAronVariant ( const type::StringPtr )
virtual

Definition at line 607 of file VariantVisitor.cpp.

◆ visitAronVariantEnter() [1/5]

void visitAronVariantEnter ( const type::DictPtr )
virtual

Definition at line 512 of file VariantVisitor.cpp.

◆ visitAronVariantEnter() [2/5]

void visitAronVariantEnter ( const type::ListPtr )
virtual

Definition at line 542 of file VariantVisitor.cpp.

◆ visitAronVariantEnter() [3/5]

void visitAronVariantEnter ( const type::ObjectPtr )
virtual

Definition at line 502 of file VariantVisitor.cpp.

+ Here is the caller graph for this function:

◆ visitAronVariantEnter() [4/5]

void visitAronVariantEnter ( const type::PairPtr )
virtual

Definition at line 522 of file VariantVisitor.cpp.

◆ visitAronVariantEnter() [5/5]

void visitAronVariantEnter ( const type::TuplePtr )
virtual

Definition at line 532 of file VariantVisitor.cpp.

◆ visitAronVariantExit() [1/5]

void visitAronVariantExit ( const type::DictPtr )
virtual

Definition at line 517 of file VariantVisitor.cpp.

◆ visitAronVariantExit() [2/5]

void visitAronVariantExit ( const type::ListPtr )
virtual

Definition at line 547 of file VariantVisitor.cpp.

◆ visitAronVariantExit() [3/5]

void visitAronVariantExit ( const type::ObjectPtr )
virtual

Definition at line 507 of file VariantVisitor.cpp.

+ Here is the caller graph for this function:

◆ visitAronVariantExit() [4/5]

void visitAronVariantExit ( const type::PairPtr )
virtual

Definition at line 527 of file VariantVisitor.cpp.

◆ visitAronVariantExit() [5/5]

void visitAronVariantExit ( const type::TuplePtr )
virtual

Definition at line 537 of file VariantVisitor.cpp.

◆ visitBool()

void visitBool ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 481 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitDictOnEnter()

void visitDictOnEnter ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 355 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitDictOnExit()

void visitDictOnExit ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 362 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitDouble()

void visitDouble ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 474 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitFloat()

void visitFloat ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 467 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitImage()

void visitImage ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 432 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitInt()

void visitInt ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 453 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitIntEnum()

void visitIntEnum ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 446 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitListOnEnter()

void visitListOnEnter ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 397 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitListOnExit()

void visitListOnExit ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 404 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitLong()

void visitLong ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 460 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitMatrix()

void visitMatrix ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 411 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitNDArray()

void visitNDArray ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 418 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitObjectOnEnter()

void visitObjectOnEnter ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 341 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitObjectOnExit()

void visitObjectOnExit ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 348 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitPairOnEnter()

void visitPairOnEnter ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 369 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitPairOnExit()

void visitPairOnExit ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 376 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitPointCloud()

void visitPointCloud ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 439 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitQuaternion()

void visitQuaternion ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 425 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitString()

void visitString ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 488 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitTupleOnEnter()

void visitTupleOnEnter ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 383 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitTupleOnExit()

void visitTupleOnExit ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< const type::VariantPtr >.

Definition at line 390 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

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