| 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 :-/. | |
| FeatureInstance (const FeatureRef &feature, const TypeInfo *type, size_t featureBit, size_t index, size_t offset) | |
| FeatureRef | GetFeature () const | 
| Return the feature itself. | |
| size_t | GetFeatureBit () const | 
| return the index of this feature within the list of features of the type. | |
| size_t | GetIndex () const | 
| return the index of this feature within the list of features of the type. | |
| size_t | GetOffset () const | 
| Return the file offset within the feature value buffer for the value of this feature. | |
| const TypeInfo * | GetType () const | 
| Return a pointer back tot he type we are assigned to. | |
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::AccessFeature::Parse(), osmscout::AccessRestrictedFeature::Parse(), osmscout::AddressFeature::Parse(), osmscout::AdminLevelFeature::Parse(), osmscout::BrandFeature::Parse(), osmscout::BridgeFeature::Parse(), osmscout::BuildingFeature::Parse(), osmscout::ChargingStationFeature::Parse(), osmscout::ClockwiseDirectionFeature::Parse(), osmscout::ColorFeature::Parse(), osmscout::ConstructionYearFeature::Parse(), osmscout::DestinationFeature::Parse(), osmscout::EleFeature::Parse(), osmscout::EmbankmentFeature::Parse(), osmscout::FeeFeature::Parse(), osmscout::FromToFeature::Parse(), osmscout::GradeFeature::Parse(), osmscout::IsInFeature::Parse(), osmscout::LanesFeature::Parse(), osmscout::LayerFeature::Parse(), osmscout::LocationFeature::Parse(), osmscout::MaxSpeedFeature::Parse(), osmscout::MaxStayFeature::Parse(), osmscout::NameAltFeature::Parse(), osmscout::NameFeature::Parse(), osmscout::NameShortFeature::Parse(), osmscout::NetworkFeature::Parse(), osmscout::OpeningHoursFeature::Parse(), osmscout::OperatorFeature::Parse(), osmscout::PhoneFeature::Parse(), osmscout::PostalCodeFeature::Parse(), osmscout::RefFeature::Parse(), osmscout::RoundaboutFeature::Parse(), osmscout::SidewayFeature::Parse(), osmscout::TunnelFeature::Parse(), osmscout::WebsiteFeature::Parse(), and osmscout::WidthFeature::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::AccessFeature::Parse(), and osmscout::LanesFeature::Parse().