VariantFactory Class Reference

The VariantFactory class. More...

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

Public Member Functions

std::unique_ptr< type::Variant > create (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
 
 VariantFactory ()=default
 
virtual ~VariantFactory ()=default
 

Detailed Description

The VariantFactory class.

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

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


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