libosmscout  0.1
osmscout::DynamicFeatureReader Class Referencefinal

Variant of FeatureReader that is not type set and thus can easier get used in cases where runtime dynamics are required and features are referenced by name and not by type. More...

#include <FeatureReader.h>

Public Member Functions

 DynamicFeatureReader (const TypeConfig &typeConfig, const Feature &feature)
 
std::string GetFeatureName () const
 
FeatureValueGetValue (const FeatureValueBuffer &buffer) const
 
bool IsSet (const FeatureValueBuffer &buffer) const
 

Detailed Description

Variant of FeatureReader that is not type set and thus can easier get used in cases where runtime dynamics are required and features are referenced by name and not by type.

Constructor & Destructor Documentation

◆ DynamicFeatureReader()

osmscout::DynamicFeatureReader::DynamicFeatureReader ( const TypeConfig typeConfig,
const Feature feature 
)

Member Function Documentation

◆ GetFeatureName()

std::string osmscout::DynamicFeatureReader::GetFeatureName ( ) const
inline

◆ GetValue()

FeatureValue * osmscout::DynamicFeatureReader::GetValue ( const FeatureValueBuffer buffer) const

◆ IsSet()

bool osmscout::DynamicFeatureReader::IsSet ( const FeatureValueBuffer buffer) const

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