openModeller  Version 1.5.0
om_layer_utils.hh File Reference
#include <sstream>
Include dependency graph for om_layer_utils.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool readDirectory (const char *dir, const char *label, ostream &xml, int depth, int *seq)
 
string getLayerLabel (const string path, const string name, bool isDir)
 
bool isValidGdalFile (const char *fileName)
 
bool hasValidGdalProjection (const char *fileName)
 

Function Documentation

string getLayerLabel ( const string  path,
const string  name,
bool  isDir 
)

Definition at line 193 of file om_layer_utils.cpp.

References FileParser::get().

Referenced by readDirectory().

Here is the call graph for this function:

bool hasValidGdalProjection ( const char *  fileName)

Definition at line 259 of file om_layer_utils.cpp.

Referenced by readDirectory().

bool isValidGdalFile ( const char *  fileName)

Definition at line 238 of file om_layer_utils.cpp.

Referenced by readDirectory().

bool readDirectory ( const char *  dir,
const char *  label,
ostream &  xml,
int  depth,
int *  seq 
)

Definition of command-line utility functions.

Author
Renato De Giovanni (renato at cria . org . br) $Id $

LICENSE INFORMATION

Copyright(c) 2013 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 41 of file om_layer_utils.cpp.

References Log::debug(), getLayerLabel(), hasValidGdalProjection(), Log::instance(), isValidGdalFile(), and readDirectory().

Referenced by main(), and readDirectory().

Here is the call graph for this function: