VariantFactory Class Reference

The VariantFactory class. More...

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

Public Member Functions

std::unique_ptr< type::Variantcreate (const type::dto::GenericType &, const Path &) const
 the create methods. Basically does a switch case over the ice_id of the dto and then returns a new variant object More...
 
 VariantFactory ()=default
 
virtual ~VariantFactory ()=default
 

Detailed Description

The VariantFactory class.

It converts an aron::type::dto obeject into a variant object.

Definition at line 39 of file Factory.h.

Constructor & Destructor Documentation

◆ VariantFactory()

VariantFactory ( )
default

◆ ~VariantFactory()

virtual ~VariantFactory ( )
virtualdefault

Member Function Documentation

◆ create()

std::unique_ptr< type::Variant > create ( const type::dto::GenericType &  aron,
const Path path 
) const

the create methods. Basically does a switch case over the ice_id of the dto and then returns a new variant object

Definition at line 36 of file Factory.cpp.

+ Here is the call graph for this function:

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