SpeciesReader.h 1.24 KB
Newer Older
Francois Gygi committed
1 2
////////////////////////////////////////////////////////////////////////////////
//
3
// Copyright (c) 2008-2012 The Regents of the University of California
Francois Gygi committed
4 5 6
//
// This file is part of Qbox
//
Francois Gygi committed
7 8
// Qbox is distributed under the terms of the GNU General Public License
// as published by the Free Software Foundation, either version 2 of
Francois Gygi committed
9 10 11 12 13 14
// the License, or (at your option) any later version.
// See the file COPYING in the root directory of this distribution
// or <http://www.gnu.org/licenses/>.
//
////////////////////////////////////////////////////////////////////////////////
//
Francois Gygi committed
15 16 17 18 19 20 21 22 23 24 25 26
// SpeciesReader.h:
//
////////////////////////////////////////////////////////////////////////////////

#ifndef SPECIESREADER_H
#define SPECIESREADER_H

#include <string>

class SpeciesReader
{
  private:
27

Francois Gygi committed
28 29
  public:

30
  SpeciesReader(void);
Francois Gygi committed
31

32 33
  // initialize a Species object using a species URI
  void uri_to_species(const std::string uri, Species& sp);
Francois Gygi committed
34

35 36 37 38 39 40 41
  // initialize a string containing an XML <species> element using a species URI
  void uri_to_string(const std::string uri, const std::string name,
       std::string& xmlstr);

  // initialize a Species object using a string containing a <species> element
  void string_to_species(const std::string xmlstr, Species& sp);
};
Francois Gygi committed
42
#endif