RecursiveVariantVisitor Struct Reference

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

+ Inheritance diagram for RecursiveVariantVisitor:

Public Member Functions

data::Descriptor getDescriptor (Input &n) override
 
std::map< std::string, InputNonConstgetDictElements (Input &n) override
 
std::vector< InputNonConstgetListElements (Input &n) override
 
virtual void visitAronVariant (data::BoolPtr &)
 
virtual void visitAronVariant (data::DoublePtr &)
 
virtual void visitAronVariant (data::FloatPtr &)
 
virtual void visitAronVariant (data::IntPtr &)
 
virtual void visitAronVariant (data::LongPtr &)
 
virtual void visitAronVariant (data::NDArrayPtr &)
 
virtual void visitAronVariant (data::StringPtr &)
 
virtual void visitAronVariantOnEnter (data::DictPtr &)
 
virtual void visitAronVariantOnEnter (data::ListPtr &)
 
virtual void visitAronVariantOnExit (data::DictPtr &)
 
virtual void visitAronVariantOnExit (data::ListPtr &)
 
void visitBool (Input &i) override
 
void visitDictOnEnter (Input &i) override
 
void visitDictOnExit (Input &i) override
 
void visitDouble (Input &i) override
 
void visitFloat (Input &i) override
 
void visitInt (Input &i) override
 
void visitListOnEnter (Input &i) override
 
void visitListOnExit (Input &i) override
 
void visitLong (Input &i) override
 
void visitNDArray (Input &i) override
 
void visitString (Input &i) override
 
virtual ~RecursiveVariantVisitor ()=default
 
- Public Member Functions inherited from RecursiveVisitor< data::VariantPtr >
virtual void visitUnknown (Input &element)
 
virtual ~RecursiveVisitor ()=default
 
- Public Member Functions inherited from VisitorBase< data::VariantPtr >
virtual data::Descriptor getDescriptor (Input &)=0
 
virtual ~VisitorBase ()=default
 

Additional Inherited Members

- Public Types inherited from RecursiveVisitor< data::VariantPtr >
using Input = typename VisitorBase< data::VariantPtr >::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< data::VariantPtr >
using Input = data::VariantPtr
 

Detailed Description

See also
type/visitor/variant/VariantVisitor.h

Definition at line 157 of file VariantVisitor.h.

Constructor & Destructor Documentation

◆ ~RecursiveVariantVisitor()

virtual ~RecursiveVariantVisitor ( )
virtualdefault

Member Function Documentation

◆ getDescriptor()

data::Descriptor getDescriptor ( Input n)
override

Definition at line 385 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ getDictElements()

std::map< std::string, RecursiveVariantVisitor::InputNonConst > getDictElements ( Input n)
overridevirtual

Implements RecursiveVisitor< data::VariantPtr >.

Definition at line 390 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ getListElements()

std::vector< RecursiveVariantVisitor::InputNonConst > getListElements ( Input n)
overridevirtual

Implements RecursiveVisitor< data::VariantPtr >.

Definition at line 395 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitAronVariant() [1/7]

void visitAronVariant ( data::BoolPtr )
virtual

Definition at line 475 of file VariantVisitor.cpp.

◆ visitAronVariant() [2/7]

void visitAronVariant ( data::DoublePtr )
virtual

Definition at line 474 of file VariantVisitor.cpp.

◆ visitAronVariant() [3/7]

void visitAronVariant ( data::FloatPtr )
virtual

Definition at line 473 of file VariantVisitor.cpp.

◆ visitAronVariant() [4/7]

void visitAronVariant ( data::IntPtr )
virtual

Definition at line 471 of file VariantVisitor.cpp.

◆ visitAronVariant() [5/7]

void visitAronVariant ( data::LongPtr )
virtual

Definition at line 472 of file VariantVisitor.cpp.

◆ visitAronVariant() [6/7]

void visitAronVariant ( data::NDArrayPtr )
virtual

Definition at line 470 of file VariantVisitor.cpp.

+ Here is the caller graph for this function:

◆ visitAronVariant() [7/7]

void visitAronVariant ( data::StringPtr )
virtual

Definition at line 476 of file VariantVisitor.cpp.

◆ visitAronVariantOnEnter() [1/2]

void visitAronVariantOnEnter ( data::DictPtr )
virtual

Definition at line 466 of file VariantVisitor.cpp.

+ Here is the caller graph for this function:

◆ visitAronVariantOnEnter() [2/2]

void visitAronVariantOnEnter ( data::ListPtr )
virtual

Definition at line 467 of file VariantVisitor.cpp.

◆ visitAronVariantOnExit() [1/2]

void visitAronVariantOnExit ( data::DictPtr )
virtual

Definition at line 468 of file VariantVisitor.cpp.

+ Here is the caller graph for this function:

◆ visitAronVariantOnExit() [2/2]

void visitAronVariantOnExit ( data::ListPtr )
virtual

Definition at line 469 of file VariantVisitor.cpp.

◆ visitBool()

void visitBool ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< data::VariantPtr >.

Definition at line 454 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitDictOnEnter()

void visitDictOnEnter ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< data::VariantPtr >.

Definition at line 400 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitDictOnExit()

void visitDictOnExit ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< data::VariantPtr >.

Definition at line 406 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitDouble()

void visitDouble ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< data::VariantPtr >.

Definition at line 448 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitFloat()

void visitFloat ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< data::VariantPtr >.

Definition at line 442 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitInt()

void visitInt ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< data::VariantPtr >.

Definition at line 430 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitListOnEnter()

void visitListOnEnter ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< data::VariantPtr >.

Definition at line 412 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitListOnExit()

void visitListOnExit ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< data::VariantPtr >.

Definition at line 418 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitLong()

void visitLong ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< data::VariantPtr >.

Definition at line 436 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitNDArray()

void visitNDArray ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< data::VariantPtr >.

Definition at line 424 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitString()

void visitString ( Input i)
overridevirtual

Reimplemented from RecursiveVisitor< data::VariantPtr >.

Definition at line 460 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

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