openModeller
Version 1.5.0
|
#include <TeStringParser.hh>
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_ |
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.
|
inline |
Definition at line 47 of file TeStringParser.hh.
|
inline |
Definition at line 49 of file TeStringParser.hh.
References isValid_, and parse().
|
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.
LICENSE INFORMATION
Copyright © 2006 INPE Copyright(c) 2003 by CRIA - Centro de Referencia em Informacao Ambiental
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().
string TeStringParser::columnName_ |
Column Name (Species)
Definition at line 67 of file TeStringParser.hh.
Referenced by TeOccurrences::load(), and parse().
|
private |
Definition at line 70 of file TeStringParser.hh.
Referenced by isValid(), and TeStringParser().
string TeStringParser::layerName_ |
Layer in Database.
Definition at line 63 of file TeStringParser.hh.
Referenced by TerralibRaster::createTeRaster(), TeOccurrences::load(), TerralibRaster::openTeRaster(), and parse().
string TeStringParser::str_ |
Terralib string.
Definition at line 61 of file TeStringParser.hh.
Referenced by TerralibRaster::createRaster(), TerralibRaster::createTeRaster(), TeOccurrences::load(), TerralibRaster::openTeRaster(), and parse().
string TeStringParser::tableName_ |
Table Name (Species)
Definition at line 65 of file TeStringParser.hh.
Referenced by TeOccurrences::load(), and parse().