TerraLib 4.1
TeSqlServerSpatialPortal Class Reference

A portal to access a ADO database. More...

#include <TeAdoSqlServerSpatial.h>

Inheritance diagram for TeSqlServerSpatialPortal:
TeAdoPortal TeDatabasePortal

List of all members.

Public Member Functions

 TeSqlServerSpatialPortal ()
 TeSqlServerSpatialPortal (TeDatabase *pDatabase)
 ~TeSqlServerSpatialPortal ()
TeTime getDate (int i)
 Gets the value of the i-th attribute as a date.
TeTime getDate (const string &s)
 Gets the value of a named attribute as a date.
string getDateAsString (int i)
 Returns.
string getDateAsString (const string &s)
 Gets the of a date/time attribute as a string formatted as accepted in further SQL statements.
bool fetchGeometry (TePolygon &pol)
bool fetchGeometry (TeLine2D &line)
bool fetchGeometry (TePoint &p)
bool fetchGeometry (TePoint &p, const unsigned int &initIndex)

Detailed Description

A portal to access a ADO database.


Constructor & Destructor Documentation

TeSqlServerSpatialPortal::TeSqlServerSpatialPortal ( )
TeSqlServerSpatialPortal::TeSqlServerSpatialPortal ( TeDatabase pDatabase)
TeSqlServerSpatialPortal::~TeSqlServerSpatialPortal ( )

Member Function Documentation

bool TeSqlServerSpatialPortal::fetchGeometry ( TePolygon pol) [virtual]

Reimplemented from TeAdoPortal.

bool TeSqlServerSpatialPortal::fetchGeometry ( TePoint p,
const unsigned int &  initIndex 
) [virtual]

Reimplemented from TeAdoPortal.

bool TeSqlServerSpatialPortal::fetchGeometry ( TePoint p) [virtual]

Reimplemented from TeAdoPortal.

bool TeSqlServerSpatialPortal::fetchGeometry ( TeLine2D line) [virtual]

Reimplemented from TeAdoPortal.

TeTime TeSqlServerSpatialPortal::getDate ( const string s) [virtual]

Gets the value of a named attribute as a date.

Reimplemented from TeAdoPortal.

TeTime TeSqlServerSpatialPortal::getDate ( int  i) [virtual]

Gets the value of the i-th attribute as a date.

Reimplemented from TeAdoPortal.

string TeSqlServerSpatialPortal::getDateAsString ( int  i) [virtual]

Returns.

Reimplemented from TeAdoPortal.

string TeSqlServerSpatialPortal::getDateAsString ( const string s) [virtual]

Gets the of a date/time attribute as a string formatted as accepted in further SQL statements.

Reimplemented from TeAdoPortal.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines