Dev Essential
Loading...
Searching...
No Matches
ddl::mapping::Source Class Referenceabstract

Mapping Source base class. More...

#include <mapper_interfaces.h>

Inherits ddl::mapping::MapperElement.

Inherited by ddl::mapping::MemorySource.

Public Member Functions

virtual std::vector< std::string > getAllValues () const =0
 Get all value names.
 
virtual std::shared_ptr< const SourceValuegetValue (const std::string &value_name) const =0
 Get the value source with a certain name.
 
- Public Member Functions inherited from ddl::mapping::MapperElement
virtual ~MapperElement ()=default
 DTOR.
 
virtual const std::string & getName () const =0
 Get the Name.
 
virtual const PropertiesgetProperties () const =0
 Get the Properties.
 

Detailed Description

Mapping Source base class.

Member Function Documentation

◆ getAllValues()

virtual std::vector< std::string > ddl::mapping::Source::getAllValues ( ) const
pure virtual

Get all value names.

Returns
std::vector<std::string>

Implemented in ddl::mapping::DDLSource.

◆ getValue()

virtual std::shared_ptr< const SourceValue > ddl::mapping::Source::getValue ( const std::string & value_name) const
pure virtual

Get the value source with a certain name.

Parameters
value_namethe name of the value source to retrieve
Returns
std::shared_ptr<const SourceValue>

Implemented in ddl::mapping::DDLSource.


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