openModeller  Version 1.4.0
TeStringParser Class Reference

#include <TeStringParser.hh>

Collaboration diagram for TeStringParser:

List of all members.

Public Member Functions

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

Public Attributes

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

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

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_.

Parser the url.

Definition of TeStringParser class.

Author:
Alexandre Copertino Jardim <alexcj@dpi.inpe.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

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().

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: