attic/src/sqlite/Utils.h File Reference
#include "../dataaccess/Enums.h"
#include "../geometry/Enums.h"
#include <iosfwd>
#include <map>

Go to the source code of this file.

Namespaces

 te
 URI C++ Library.
 
 te::da
 Namespace for the DataAccess API of TerraLib.
 
 te::dt
 Namespace for the Data Type module of TerraLib.
 
 te::gm
 Namespace for the Vector Geometry module of TerraLib.
 
 te::sqlite
 

Typedefs

typedef struct sqlite3 sqlite3
 
typedef struct sqlite3_stmt sqlite3_stmt
 

Functions

bool te::sqlite::ContainsSemicolon (const char *sql, std::size_t nbytes)
 
void te::sqlite::Convert2SpatiaLiteGeom (const te::gm::GeomType t, std::string &geomType, std::string &dimension)
 
std::string te::sqlite::Convert2SQLCreate (const te::dt::Property *p)
 
te::da::DataSetTypete::sqlite::Convert2TerraLib (sqlite3_stmt *pStmt)
 
te::dt::Propertyte::sqlite::Convert2TerraLib (int colId, const std::string &colName, const std::string &colType, bool required, std::string *defaultValue=0)
 
int te::sqlite::Convert2TerraLibCategory (const std::string &category)
 
void te::sqlite::ExecuteScript (sqlite3 *db, const char *fileName)
 
bool te::sqlite::Exists (const std::map< std::string, std::string > &dbInfo)
 
te::da::FKActionType te::sqlite::GetAction (const std::string &action)
 
std::string te::sqlite::GetBindableSpatialRelation (const std::string &colName, const te::gm::SpatialRelation r)
 
int te::sqlite::GetConnectionFlags (const std::map< std::string, std::string > &connInfo)
 
void te::sqlite::GetHiddenTables (const te::da::DataSource *ds, std::vector< std::string > &tables)
 
std::string te::sqlite::GetRtreeFilter (const te::gm::Envelope *e, const te::gm::SpatialRelation r)
 
std::string te::sqlite::GetSQLBindValues (const te::da::DataSet *dataset)
 
std::string te::sqlite::GetSQLType (const te::dt::Property *p)
 
bool te::sqlite::IsAllWhitespace (const char *sqlLine)
 
bool te::sqlite::IsCommandTerminator (const char *sqlLine)
 
bool te::sqlite::IsComplete (char **sql, size_t len, std::size_t &buffsize)
 
void te::sqlite::PerformCommands (sqlite3 *db, std::istream &istr)
 
void te::sqlite::PerformCommands (sqlite3 *db, const char *sql)
 
std::streamsize te::sqlite::ReadLine (std::istream &istr, char **pbuff, std::size_t &buffsize)
 

Typedef Documentation

typedef struct sqlite3 sqlite3

Definition at line 40 of file attic/src/sqlite/Utils.h.

typedef struct sqlite3_stmt sqlite3_stmt

Definition at line 43 of file attic/src/sqlite/Utils.h.