openModeller  Version 1.4.0
SerializedXmlOccurrences Class Reference

#include <SerializedXmlOccurrences.hh>

Inheritance diagram for SerializedXmlOccurrences:
Collaboration diagram for SerializedXmlOccurrences:

List of all members.

Public Member Functions

 SerializedXmlOccurrences (const char *source, const char *coordSystem)
 ~SerializedXmlOccurrences ()
bool load ()

Static Public Member Functions

static OccurrencesReaderCreateOccurrencesReaderCallback (const char *source, const char *coordSystem)

Private Attributes

bool _loaded

Detailed Description

Declaration of SerializedXmlOccurrences class.

Author:
Renato De Giovanni (renato [at] cria . org . br)
Id:
SerializedXmlOccurrences.hh 4276 2008-05-02 18:19:17Z rdg

LICENSE INFORMATION

Copyright(c) 2008 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 Read occurrences data from an XML file containing openModeller serialized occurrences.

Definition at line 39 of file SerializedXmlOccurrences.hh.


Constructor & Destructor Documentation

SerializedXmlOccurrences::SerializedXmlOccurrences ( const char *  source,
const char *  coordSystem 
)

Constructor.

Parameters:
sourcePath to file containing openModeller serialized XML.
coordSystemDefault coordinate system in WKT.

Definition at line 46 of file SerializedXmlOccurrences.cpp.

References OccurrencesReader::_coord_system, _loaded, and OccurrencesReader::_source.

Referenced by CreateOccurrencesReaderCallback().


Member Function Documentation

OccurrencesReader * SerializedXmlOccurrences::CreateOccurrencesReaderCallback ( const char *  source,
const char *  coordSystem 
) [static]

Return a new instance of this class.

Definition of SerializedXmlOccurrences class.

Author:
Renato De Giovanni (renato [at] cria . org . br)
Id:
SerializedXmlOccurrences.cpp 4297 2008-05-15 19:51:03Z rdg

LICENSE INFORMATION

Copyright(c) 2008 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 38 of file SerializedXmlOccurrences.cpp.

References SerializedXmlOccurrences().

Referenced by OccurrencesFactory::instance().

Here is the call graph for this function:

bool SerializedXmlOccurrences::load ( ) [virtual]

Read occurrences from the XML file.

Implements OccurrencesReader.

Definition at line 66 of file SerializedXmlOccurrences.cpp.

References OccurrencesReader::_absences, _loaded, OccurrencesReader::_presences, OccurrencesReader::_source, Log::info(), Log::instance(), and Configuration::readXml().

Here is the call graph for this function:


Member Data Documentation

Definition at line 66 of file SerializedXmlOccurrences.hh.

Referenced by load(), and SerializedXmlOccurrences().


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