libosmscout
0.1
|
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 |
FeatureValue * | GetValue (const FeatureValueBuffer &buffer) const |
bool | IsSet (const FeatureValueBuffer &buffer) const |
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.
osmscout::DynamicFeatureReader::DynamicFeatureReader | ( | const TypeConfig & | typeConfig, |
const Feature & | feature | ||
) |
References osmscout::TypeConfig::GetTypeCount(), and osmscout::TypeConfig::GetTypes().
|
inline |
FeatureValue * osmscout::DynamicFeatureReader::GetValue | ( | const FeatureValueBuffer & | buffer | ) | const |
bool osmscout::DynamicFeatureReader::IsSet | ( | const FeatureValueBuffer & | buffer | ) | const |