App: GeoFeature/ComplexGeoData API changes

These are the bare minimum set of APIs for future new topogical naming
feature (see [here](https://git.io/fj6hy) for a overview of the new
APIs).

These APIs are added early to avoid too much code change for the new
features introduced in the current patch set.
This commit is contained in:
Zheng, Lei
2019-07-14 06:31:30 +08:00
committed by wmayer
parent c5112ecdc5
commit 29eb1a4299
6 changed files with 250 additions and 1 deletions

View File

@@ -126,6 +126,14 @@ void ComplexGeoDataPy::setMatrix(Py::Object arg)
}
}
Py::Int ComplexGeoDataPy::getTag() const {
return Py::Int(getComplexGeoDataPtr()->Tag);
}
void ComplexGeoDataPy::setTag(Py::Int tag) {
getComplexGeoDataPtr()->Tag = tag;
}
PyObject *ComplexGeoDataPy::getCustomAttributes(const char* /*attr*/) const
{
return 0;