openModeller  Version 1.5.0
TeStringParser Class Reference

#include <TeStringParser.hh>

Inheritance diagram for TeStringParser:
Inheritance graph
Collaboration diagram for TeStringParser:
Collaboration graph

Public Member Functions

 TeStringParser ()
 
 TeStringParser (const string &str)
 
bool parse ()
 Parser the url. More...
 
bool isValid ()
 If true if the string is valid, false otherwise. More...
 

Public Attributes

string str_
 Terralib string. More...
 
string layerName_
 Layer in Database. More...
 
string tableName_
 Table Name (Species) More...
 
string columnName_
 Column Name (Species) More...
 

Private Attributes

bool isValid_
 

Detailed Description

Terralib string parser. A parser for a special string that indicates either a layer in a Terralib db: terralib>user>password@DatabaseName>host>DatabaseFile>port>layerName or a column in a Terralib db (to read point data): terralib>user>password@DatabaseName>host>DatabaseFile>port>layerName>tableName>columnName

Definition at line 44 of file TeStringParser.hh.

Constructor & Destructor Documentation

TeStringParser::TeStringParser ( )
inline

Definition at line 47 of file TeStringParser.hh.

TeStringParser::TeStringParser ( const string &  str)
inline

Definition at line 49 of file TeStringParser.hh.

References isValid_, and parse().

Here is the call graph for this function:

Member Function Documentation

bool TeStringParser::isValid ( )
inline

If true if the string is valid, false otherwise.

Definition at line 58 of file TeStringParser.hh.

References isValid_.

bool TeStringParser::parse ( )

Parser the url.

Definition of TeStringParser class.

Author
Alexandre Copertino Jardim alexc.nosp@m.j@dp.nosp@m.i.inp.nosp@m.e.br
Date
2006-03-21
Id:
TeStringParser.cpp 4267 2008-04-28 15:05:06Z rdg

LICENSE INFORMATION

Copyright © 2006 INPE Copyright(c) 2003 by CRIA - Centro de Referencia em Informacao Ambiental

http://www.cria.org.br

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details:

http://www.gnu.org/copyleft/gpl.html

Definition at line 33 of file TeStringParser.cpp.

References columnName_, layerName_, str_, and tableName_.

Referenced by TerralibRaster::createTeRaster(), TeOccurrences::load(), TerralibRaster::openTeRaster(), and TeStringParser().

Member Data Documentation

string TeStringParser::columnName_

Column Name (Species)

Definition at line 67 of file TeStringParser.hh.

Referenced by TeOccurrences::load(), and parse().

bool TeStringParser::isValid_
private

Definition at line 70 of file TeStringParser.hh.

Referenced by isValid(), and TeStringParser().

string TeStringParser::layerName_
string TeStringParser::str_
string TeStringParser::tableName_

Table Name (Species)

Definition at line 65 of file TeStringParser.hh.

Referenced by TeOccurrences::load(), and parse().


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