te::addressgeocoding::AddressGeocodingOp Class Reference

#include <AddressGeocodingOp.h>

Public Member Functions

 AddressGeocodingOp ()
 
bool paramsAreValid ()
 
bool run ()
 
void setInput (te::da::DataSourcePtr inDsrc, std::string inDsetName, int inSRID, te::da::DataSourcePtr inAddressDsrc, std::string inAddressDsetName)
 
void setNumAttributes (std::string initialLeft, std::string finalLeft, std::string initialRight, std::string finalRight)
 
void setOutput (te::da::DataSourcePtr outDsrc, std::string m_outDsetName)
 
void setParams (std::vector< std::string > associatedProps, std::string streetNumber)
 
 ~AddressGeocodingOp ()
 

Protected Member Functions

void getLines (te::gm::Geometry *geom, std::vector< te::gm::LineString * > &lines)
 
void getLines (te::gm::GeometryCollection *gc, std::vector< te::gm::LineString * > &lines)
 
void getLines (te::gm::LineString *l, std::vector< te::gm::LineString * > &lines)
 
te::gm::LineStringgetLineString (te::gm::Geometry *geom)
 
std::unique_ptr< te::da::DataSetTypegetOutputDataSetType ()
 
bool save (std::unique_ptr< te::mem::DataSet > result, std::unique_ptr< te::da::DataSetType > outDsetName)
 

Protected Attributes

std::vector< std::string > m_associatedProps
 File attributes. More...
 
std::string m_finalLeft
 
std::string m_finalRight
 
std::string m_inAddressDsetName
 
te::da::DataSourcePtr m_inAddressDsrc
 
std::string m_inDsetName
 
te::da::DataSourcePtr m_inDsrc
 
std::string m_initialLeft
 
std::string m_initialRight
 
int m_inSRID
 
std::string m_outDsetName
 
te::da::DataSourcePtr m_outDsrc
 
std::string m_streetNumber
 File attribute that represents the address number. More...
 

Detailed Description

Definition at line 55 of file AddressGeocodingOp.h.

Constructor & Destructor Documentation

te::addressgeocoding::AddressGeocodingOp::AddressGeocodingOp ( )

Definition at line 53 of file AddressGeocodingOp.cpp.

te::addressgeocoding::AddressGeocodingOp::~AddressGeocodingOp ( )
inline

Definition at line 61 of file AddressGeocodingOp.h.

References gc.

Member Function Documentation

void te::addressgeocoding::AddressGeocodingOp::getLines ( te::gm::Geometry geom,
std::vector< te::gm::LineString * > &  lines 
)
protected
void te::addressgeocoding::AddressGeocodingOp::getLines ( te::gm::GeometryCollection gc,
std::vector< te::gm::LineString * > &  lines 
)
protected
void te::addressgeocoding::AddressGeocodingOp::getLines ( te::gm::LineString l,
std::vector< te::gm::LineString * > &  lines 
)
protected

Definition at line 416 of file AddressGeocodingOp.cpp.

te::gm::LineString * te::addressgeocoding::AddressGeocodingOp::getLineString ( te::gm::Geometry geom)
protected

Definition at line 372 of file AddressGeocodingOp.cpp.

References getLines(), line, and te::gm::Geometry::Union().

Referenced by run().

std::unique_ptr< te::da::DataSetType > te::addressgeocoding::AddressGeocodingOp::getOutputDataSetType ( )
protected
bool te::addressgeocoding::AddressGeocodingOp::paramsAreValid ( )
bool te::addressgeocoding::AddressGeocodingOp::save ( std::unique_ptr< te::mem::DataSet result,
std::unique_ptr< te::da::DataSetType outDsetName 
)
protected
void te::addressgeocoding::AddressGeocodingOp::setInput ( te::da::DataSourcePtr  inDsrc,
std::string  inDsetName,
int  inSRID,
te::da::DataSourcePtr  inAddressDsrc,
std::string  inAddressDsetName 
)
void te::addressgeocoding::AddressGeocodingOp::setNumAttributes ( std::string  initialLeft,
std::string  finalLeft,
std::string  initialRight,
std::string  finalRight 
)

Definition at line 78 of file AddressGeocodingOp.cpp.

References m_finalLeft, m_finalRight, m_initialLeft, and m_initialRight.

void te::addressgeocoding::AddressGeocodingOp::setOutput ( te::da::DataSourcePtr  outDsrc,
std::string  m_outDsetName 
)

Definition at line 89 of file AddressGeocodingOp.cpp.

References m_outDsetName, and m_outDsrc.

void te::addressgeocoding::AddressGeocodingOp::setParams ( std::vector< std::string >  associatedProps,
std::string  streetNumber 
)

Definition at line 71 of file AddressGeocodingOp.cpp.

References m_associatedProps, and m_streetNumber.

Member Data Documentation

std::vector<std::string> te::addressgeocoding::AddressGeocodingOp::m_associatedProps
protected

File attributes.

Definition at line 104 of file AddressGeocodingOp.h.

Referenced by paramsAreValid(), run(), and setParams().

std::string te::addressgeocoding::AddressGeocodingOp::m_finalLeft
protected

Definition at line 108 of file AddressGeocodingOp.h.

Referenced by run(), and setNumAttributes().

std::string te::addressgeocoding::AddressGeocodingOp::m_finalRight
protected

Definition at line 110 of file AddressGeocodingOp.h.

Referenced by run(), and setNumAttributes().

std::string te::addressgeocoding::AddressGeocodingOp::m_inAddressDsetName
protected

Definition at line 102 of file AddressGeocodingOp.h.

Referenced by paramsAreValid(), run(), and setInput().

te::da::DataSourcePtr te::addressgeocoding::AddressGeocodingOp::m_inAddressDsrc
protected

Definition at line 101 of file AddressGeocodingOp.h.

Referenced by paramsAreValid(), run(), and setInput().

std::string te::addressgeocoding::AddressGeocodingOp::m_inDsetName
protected

Definition at line 99 of file AddressGeocodingOp.h.

Referenced by getOutputDataSetType(), paramsAreValid(), run(), and setInput().

te::da::DataSourcePtr te::addressgeocoding::AddressGeocodingOp::m_inDsrc
protected

Definition at line 98 of file AddressGeocodingOp.h.

Referenced by getOutputDataSetType(), paramsAreValid(), run(), and setInput().

std::string te::addressgeocoding::AddressGeocodingOp::m_initialLeft
protected

Definition at line 107 of file AddressGeocodingOp.h.

Referenced by run(), and setNumAttributes().

std::string te::addressgeocoding::AddressGeocodingOp::m_initialRight
protected

Definition at line 109 of file AddressGeocodingOp.h.

Referenced by run(), and setNumAttributes().

int te::addressgeocoding::AddressGeocodingOp::m_inSRID
protected

Definition at line 100 of file AddressGeocodingOp.h.

Referenced by run(), and setInput().

std::string te::addressgeocoding::AddressGeocodingOp::m_outDsetName
protected

Definition at line 113 of file AddressGeocodingOp.h.

Referenced by getOutputDataSetType(), paramsAreValid(), save(), and setOutput().

te::da::DataSourcePtr te::addressgeocoding::AddressGeocodingOp::m_outDsrc
protected

Definition at line 112 of file AddressGeocodingOp.h.

Referenced by paramsAreValid(), save(), and setOutput().

std::string te::addressgeocoding::AddressGeocodingOp::m_streetNumber
protected

File attribute that represents the address number.

Definition at line 105 of file AddressGeocodingOp.h.

Referenced by run(), and setParams().


The documentation for this class was generated from the following files: