28 #ifndef __TERRALIB_VP_INTERNAL_BUFFER_OP_H 29 #define __TERRALIB_VP_INTERNAL_BUFFER_OP_H 33 #include "../dataaccess/dataset/DataSet.h" 34 #include "../dataaccess/dataset/DataSetTypeConverter.h" 35 #include "../dataaccess/datasource/DataSource.h" 37 #include "../datatype/Property.h" 39 #include "../memory/DataSet.h" 40 #include "../statistics/core/Enums.h" 76 virtual bool run() = 0;
83 virtual bool paramsAreValid();
94 std::string inDsetName,
95 std::auto_ptr<te::da::DataSetTypeConverter> converter,
112 void setParams(
const double& distance,
113 const int& bufferPolygonRule,
114 const int& bufferBoundariesRule,
115 const bool& copyInputColumns,
117 const int& attributePosition = -1);
153 #endif // __TERRALIB_VP_INTERNAL_BUFFER_OP_H #define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
double m_distance
The fixed distance.
std::auto_ptr< te::da::DataSetTypeConverter > m_converter
The input datasettype.
boost::shared_ptr< DataSource > DataSourcePtr
An abstract class to compute the buffer memory and buffer query operation.
A class that models the description of a dataset.
const te::da::ObjectIdSet * m_oidSet
The input objectid set.
virtual ~BufferOp()
Virtual destructor.
std::string m_outDsetName
The output dataset name.
int m_bufferPolygonRule
The buffer polygon rule (INSIDE_OUTSIDE = 0, ONLY_OUTSIDE = 1, ONLY_INSIDE = 2).
int m_levels
The number of levels buffer will have.
This class represents a set of unique ids created in the same context. i.e. from the same data set...
int m_bufferBoundariesRule
The buffer boundary rule (DISSOLVE = 0 and NOT_DISSOLVE = 1).
Enumerations related to Vector Processing module.
TEDATAACCESSEXPORT DataSetType * GetDataSetType(const std::string &name, const std::string &datasourceId)
int m_attributePosition
The buffer can be calculated by attribute values. The attribute must be numeric type.
bool m_copyInputColumns
Copy columns from input DataSet.
Configuration flags for the Terrralib Vector Processing module.
te::da::DataSourcePtr m_inDsrc
The input datasource.
te::da::DataSourcePtr m_outDsrc
The output datasource.
std::string m_inDsetName
The input dataset name.