11 #include <boost/spirit/include/qi.hpp>
12 #include <boost/phoenix/operator.hpp>
13 #include <boost/ptr_container/ptr_map.hpp>
15 namespace MAKVRinTerra
36 typedef std::map<DtFeature::Key::String, Record::Vector>
TransformMap;
47 virtual std::string label()
const override;
48 virtual void forEachFeatureParallel(
const ForEachFunction&)
const override;
51 const DtQuery& q,
const boost::optional<DtFeatureGeometry>&,
DtLoadType)
const override;
53 virtual bool loaded(
double)
const override;
55 virtual unsigned numberOfFeatures()
const override;
56 virtual bool elided()
const override;
57 virtual bool empty()
const override;
58 virtual bool isIndexed()
const override;
59 virtual bool isCacheable(
const boost::optional<DtFeatureGeometry>& area)
const override;
60 virtual void cacheEstimate(
61 double& time,
double&
size,
const boost::optional<DtFeatureGeometry>& area)
const override;
62 virtual void cacheData(
76 virtual void accept(
Visitor&)
override;
96 virtual boost::optional<Attribute>
attribute(
const Key& key)
const override;
Represents a set of DtFeature objects or others which conform to the DtFeature concept.
Definition: featureSet.h:105
std::map< DtFeature::Key::String, DtQuery > DtQueryMap
Map of query names to queries.
Definition: attributeConfigParser.h:86
boost::function< void(const Feature &)> ForEachFunction
Callback type type for iterating through features.
Definition: featureSet.h:160
#define DT_DLL_features
stop complaining about multiple independent base classes for boost::noncopyable this should probably ...
Definition: featuresDefines.h:41
boost::function< void()> DetachCallback
Callback type for disconnecting other callbacks. Functions which register callbacks return a DetachCa...
Definition: featureSet.h:132
Key used to lookup attributes. The DtFeature interface is a dictionary that maps Key objects to attri...
Definition: feature.h:67
Definition: featureSet.h:45
voidpf void uLong size
Definition: ioapi.h:39
boost::function< void(const Key &, const Attribute &)> ForEachFunction
Callback used to iterating through attributes with ForEachAttribute.
Definition: feature.h:150
Feature system config file.
Represents a set of characeters a DtFeature object can have. DtQuery objects are the way to communica...
Definition: query.h:37
Definition: featureSet.h:444
Parser for feature system configuration file. Constructs a set of DtQuery objects, each with a name from the configuration file. Also constructs a list of DtFeatureTransform objects, using DtQuery names as filters.
Definition: attributeConfigParser.h:78
DtLoadType
Used to indicate whether to load features. See DtFeatureSetTemplate::filter.
Definition: featureSet.h:33
Case insensitive string.
Definition: feature.h:70
Represents a GIS feature. Features consist of a DtFeatureGeometry (2.5D geometric vector data) and a ...
Definition: feature.h:36
Definition: feature.h:228
boost::function< void()> LoadedCallback
Callback type type for async notification of feature set loading.
Definition: featureSet.h:163
std::vector< DtFeatureTransform > TransformVector
Sequence of transforms.
Definition: attributeConfigParser.h:89
Visitors allow feature sets which are implemented as compound structures of other feature sets to exp...
Definition: featureSet.h:437