ConstVariantVisitor Struct Reference

The VariantVisitor struct. More...

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

+ Inheritance diagram for ConstVariantVisitor:

Public Member Functions

type::Descriptor getDescriptor (Input &n) override
 
void visitAnyObject (Input &) override
 
virtual void visitAronVariant (const type::AnyObjectPtr &)
 
virtual void visitAronVariant (const type::BoolPtr &)
 
virtual void visitAronVariant (const type::DictPtr &)
 
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::ListPtr &)
 
virtual void visitAronVariant (const type::LongPtr &)
 
virtual void visitAronVariant (const type::MatrixPtr &)
 
virtual void visitAronVariant (const type::NDArrayPtr &)
 
virtual void visitAronVariant (const type::ObjectPtr &)
 
virtual void visitAronVariant (const type::PairPtr &)
 
virtual void visitAronVariant (const type::PointCloudPtr &)
 
virtual void visitAronVariant (const type::QuaternionPtr &)
 
virtual void visitAronVariant (const type::StringPtr &)
 
virtual void visitAronVariant (const type::TuplePtr &)
 
void visitBool (Input &) override
 
void visitDict (Input &) override
 
void visitDouble (Input &) override
 
void visitFloat (Input &) override
 
void visitImage (Input &) override
 
void visitInt (Input &) override
 
void visitIntEnum (Input &) override
 
void visitList (Input &) override
 
void visitLong (Input &) override
 
void visitMatrix (Input &) override
 
void visitNDArray (Input &) override
 
void visitObject (Input &) override
 
void visitPair (Input &) override
 
void visitPointCloud (Input &) override
 
void visitQuaternion (Input &) override
 
void visitString (Input &) override
 
void visitTuple (Input &) override
 
virtual ~ConstVariantVisitor ()=default
 
- Public Member Functions inherited from Visitor< const type::VariantPtr >
virtual void visitOrientation (Input &)
 
virtual void visitPose (Input &)
 
virtual void visitPosition (Input &)
 
virtual void visitUnknown (Input &)
 
virtual ~Visitor ()=default
 
- Public Member Functions inherited from VisitorBase< const type::VariantPtr >
virtual ~VisitorBase ()=default
 

Static Public Member Functions

static type::Descriptor GetDescriptor (Input &n)
 

Additional Inherited Members

- Public Types inherited from Visitor< const type::VariantPtr >
using Input = typename VisitorBase< const type::VariantPtr >::Input
 
- Public Types inherited from VisitorBase< const type::VariantPtr >
using Input = const type::VariantPtr
 

Detailed Description

The VariantVisitor struct.

Already implements the method to get the descriptor of an aron variant.

Definition at line 38 of file VariantVisitor.h.

Constructor & Destructor Documentation

◆ ~ConstVariantVisitor()

virtual ~ConstVariantVisitor ( )
virtualdefault

Member Function Documentation

◆ GetDescriptor()

type::Descriptor GetDescriptor ( Input n)
static

Definition at line 35 of file VariantVisitor.cpp.

+ Here is the caller graph for this function:

◆ getDescriptor()

type::Descriptor getDescriptor ( Input n)
overridevirtual

Implements VisitorBase< const type::VariantPtr >.

Definition at line 45 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitAnyObject()

void visitAnyObject ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 170 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitAronVariant() [1/18]

void visitAronVariant ( const type::AnyObjectPtr )
virtual

Definition at line 262 of file VariantVisitor.cpp.

◆ visitAronVariant() [2/18]

◆ visitAronVariant() [3/18]

◆ visitAronVariant() [4/18]

◆ visitAronVariant() [5/18]

◆ visitAronVariant() [6/18]

◆ visitAronVariant() [7/18]

◆ visitAronVariant() [8/18]

◆ visitAronVariant() [9/18]

◆ visitAronVariant() [10/18]

◆ visitAronVariant() [11/18]

◆ visitAronVariant() [12/18]

◆ visitAronVariant() [13/18]

void visitAronVariant ( const type::ObjectPtr )
virtual

Reimplemented in AronTreeWidgetConverterVisitor, AronTreeWidgetConverterVisitor, AronTreeWidgetCreatorVisitor, AronTreeWidgetCreatorVisitor, AronTreeWidgetContextMenuVisitor, and AronTreeWidgetContextMenuVisitor.

Definition at line 177 of file VariantVisitor.cpp.

+ Here is the caller graph for this function:

◆ visitAronVariant() [14/18]

◆ visitAronVariant() [15/18]

◆ visitAronVariant() [16/18]

◆ visitAronVariant() [17/18]

◆ visitAronVariant() [18/18]

◆ visitBool()

void visitBool ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 156 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitDict()

void visitDict ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 58 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitDouble()

void visitDouble ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 149 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitFloat()

void visitFloat ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 142 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitImage()

void visitImage ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 107 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitInt()

void visitInt ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 128 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitIntEnum()

void visitIntEnum ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 121 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitList()

void visitList ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 79 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitLong()

void visitLong ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 135 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitMatrix()

void visitMatrix ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 86 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitNDArray()

void visitNDArray ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 93 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitObject()

void visitObject ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 51 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitPair()

void visitPair ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 65 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitPointCloud()

void visitPointCloud ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 114 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitQuaternion()

void visitQuaternion ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 100 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitString()

void visitString ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 163 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

◆ visitTuple()

void visitTuple ( Input i)
overridevirtual

Reimplemented from Visitor< const type::VariantPtr >.

Definition at line 72 of file VariantVisitor.cpp.

+ Here is the call graph for this function:

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