libosmscout
0.1
|
An instantiation of a feature for a certain type. More...
#include <TypeFeature.h>
Public Member Functions | |
FeatureInstance () | |
Just to make the compiler happy :-/. More... | |
FeatureInstance (const FeatureRef &feature, const TypeInfo *type, size_t featureBit, size_t index, size_t offset) | |
FeatureRef | GetFeature () const |
Return the feature itself. More... | |
size_t | GetFeatureBit () const |
return the index of this feature within the list of features of the type. More... | |
size_t | GetIndex () const |
return the index of this feature within the list of features of the type. More... | |
size_t | GetOffset () const |
Return the file offset within the feature value buffer for the value of this feature. More... | |
const TypeInfo * | GetType () const |
Return a pointer back tot he type we are assigned to. More... | |
An instantiation of a feature for a certain type.
osmscout::FeatureInstance::FeatureInstance | ( | ) |
Just to make the compiler happy :-/.
osmscout::FeatureInstance::FeatureInstance | ( | const FeatureRef & | feature, |
const TypeInfo * | type, | ||
size_t | featureBit, | ||
size_t | index, | ||
size_t | offset | ||
) |
|
inline |
Return the feature itself.
Referenced by osmscout::FeatureValueBuffer::CopyMissingValues(), osmscout::FeatureValueBuffer::GetFeature(), osmscout::FeatureValueBuffer::operator==(), and osmscout::FeatureValueBuffer::Set().
|
inline |
return the index of this feature within the list of features of the type.
Referenced by osmscout::FeatureValueBuffer::AllocateValue(), osmscout::FeatureValueBuffer::CopyMissingValues(), osmscout::FeatureValueBuffer::FreeValue(), and osmscout::FeatureValueBuffer::Set().
|
inline |
return the index of this feature within the list of features of the type.
Referenced by osmscout::BridgeFeature::Parse(), osmscout::ClockwiseDirectionFeature::Parse(), osmscout::RoundaboutFeature::Parse(), osmscout::TunnelFeature::Parse(), osmscout::BuildingFeature::Parse(), osmscout::EmbankmentFeature::Parse(), osmscout::WidthFeature::Parse(), osmscout::LayerFeature::Parse(), osmscout::GradeFeature::Parse(), osmscout::IsInFeature::Parse(), osmscout::MaxSpeedFeature::Parse(), osmscout::NameAltFeature::Parse(), osmscout::NameFeature::Parse(), osmscout::RefFeature::Parse(), osmscout::NameShortFeature::Parse(), osmscout::WebsiteFeature::Parse(), osmscout::OperatorFeature::Parse(), osmscout::NetworkFeature::Parse(), osmscout::BrandFeature::Parse(), osmscout::OpeningHoursFeature::Parse(), osmscout::AdminLevelFeature::Parse(), osmscout::PostalCodeFeature::Parse(), osmscout::ColorFeature::Parse(), osmscout::LocationFeature::Parse(), osmscout::DestinationFeature::Parse(), osmscout::PhoneFeature::Parse(), osmscout::MaxStayFeature::Parse(), osmscout::AddressFeature::Parse(), osmscout::EleFeature::Parse(), osmscout::ConstructionYearFeature::Parse(), osmscout::FeeFeature::Parse(), osmscout::ChargingStationFeature::Parse(), osmscout::FromToFeature::Parse(), osmscout::SidewayFeature::Parse(), osmscout::AccessRestrictedFeature::Parse(), osmscout::LanesFeature::Parse(), and osmscout::AccessFeature::Parse().
|
inline |
Return the file offset within the feature value buffer for the value of this feature.
|
inline |
Return a pointer back tot he type we are assigned to.
Referenced by osmscout::LanesFeature::Parse(), and osmscout::AccessFeature::Parse().