| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Protected Attributes
TeConnection Class Reference

`#include <TeConnection.h>`

Inheritance diagram for TeConnection:

List of all members.

## Public Member Functions

Constructor
Initializer methods.
| TeConnection ()
| Default constructor.
virtual | ~TeConnection ()
| Virtual destructor.
Access methods.
Methods to access class private members.
unsigned int | getId () const
void | setId (const unsigned int &id)
std::string | getUser () const
void | setUser (const std::string &user)
std::string | getHost () const
void | setHost (const std::string &host)
std::string | getPassword () const
void | setPassword (const std::string &psw)
std::string | getDBMS () const
void | setDBMS (const std::string &name)
std::string | getDatabaseName () const
void | setDatabaseName (const std::string &name)
int | getPortNumber () const
void | setPortNumber (const int &portNumber)

## Protected Attributes

unsigned int | id_
| Internal identify for the connection.
std::string | host_
| Host name of the database server.
std::string | user_
| User name.
std::string | password_
| User password.
std::string | database_
| Database name.
std::string | dbmsName_
| DBMS name.
int | portNumber_
| Port number.

## Constructor & Destructor Documentation

TeConnection::TeConnection | ( |  | ) |

Default constructor.

TeConnection::~TeConnection | ( |  | ) | `[virtual]`

Virtual destructor.

## Member Function Documentation

std::string TeConnection::getDatabaseName | ( |  | ) | const

std::string TeConnection::getDBMS | ( |  | ) | const

std::string TeConnection::getHost | ( |  | ) | const

unsigned int TeConnection::getId | ( |  | ) | const

std::string TeConnection::getPassword | ( |  | ) | const

int TeConnection::getPortNumber | ( |  | ) | const

std::string TeConnection::getUser | ( |  | ) | const

void TeConnection::setDatabaseName | ( | const std::string & | name | ) |

void TeConnection::setDBMS | ( | const std::string & | name | ) |

void TeConnection::setHost | ( | const std::string & | host | ) |

void TeConnection::setId | ( | const unsigned int & | id | ) |

void TeConnection::setPassword | ( | const std::string & | psw | ) |

void TeConnection::setPortNumber | ( | const int & | portNumber | ) |

void TeConnection::setUser | ( | const std::string & | user | ) |

## Member Data Documentation

std::string TeConnection::database_`[protected]`

Database name.

std::string TeConnection::dbmsName_`[protected]`

DBMS name.

std::string TeConnection::host_`[protected]`

Host name of the database server.

Connections parameters

unsigned int TeConnection::id_`[protected]`

Internal identify for the connection.

std::string TeConnection::password_`[protected]`

User password.

int TeConnection::portNumber_`[protected]`

Port number.

std::string TeConnection::user_`[protected]`

User name.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeConnection.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeConnection.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines