15 namespace MAKVRinTerra
30 typedef boost::shared_ptr<DtAreaFeature>
Ptr;
31 typedef boost::shared_ptr<const DtAreaFeature>
CPtr;
57 const std::string& type,
double buffer=0,
bool clip=
false);
59 bool operator<(
const Config& other)
const;
67 std::string label()
const;
71 const DtQuery& query,
const boost::optional<DtFeatureGeometry>&,
DtLoadType)
const;
73 bool loaded(
double)
const;
75 unsigned numberOfFeatures()
const;
83 void addEnclosingGeometry(
const boost::optional<DtFeatureGeometry>& geom);
97 typedef boost::shared_ptr<DtFeatureWrapper>
Ptr;
98 typedef boost::shared_ptr<const DtFeatureWrapper>
CPtr;
107 return myWrapper.wrappedFeature().area();
117 myWrapper.forEachAttribute(func);
122 return myWrapper.numberOfAttributes(str);
127 return myWrapper.attribute(key);
132 return myWrapper.addDeleteCallback(callback);
137 return myWrapper.isDeleted();
142 myWrapper.setDeleted();
146 : myWrapper(from.myWrapper)
161 : myWrapper(f.
clone())