Fire Core  8.0.0.alpha
GIS framework per tutti gli usi
 Tutto Classi Namespace Funzioni Variabili Ridefinizioni di tipo (typedef) Tipi enumerati (enum) Valori del tipo enumerato Friend
WktReader.hpp
1 // Copyright 2015 GEOSYSTEMS SRL
2 // All Rights Reserved.
3 
4 #ifndef FIRE_GEAR_IO_WKTREADER_HPP_INCLUDED
5 #define FIRE_GEAR_IO_WKTREADER_HPP_INCLUDED
6 
7 #include <exception>
8 #include <istream>
9 #include <vector>
10 #include <string>
11 
12 #include "fire/export.hpp"
13 
14 #include "fire/gear/io/Reader.hpp"
15 
16 namespace fire {
17 namespace gear {
18 namespace geom {
19 class Geometry;
20 } // namespace geom
21 } // namespace gear
22 } // namespace fire
23 
28 namespace fire {
33 namespace gear {
38 namespace io {
43 class FIRE_ENGINE_DLL WktReader : public fire::gear::io::Reader {
44  public:
49  virtual ~WktReader();
59  void read(std::istream& inputStream, std::vector< fire::gear::geom::Geometry* >& geometries);
69  void read(const std::string& filePath, std::vector< fire::gear::geom::Geometry* >& geometries);
79  void read(std::istream& inputStream, fire::gear::Group& group);
88  void read(const std::string& filePath, fire::gear::Group& group);
98  fire::gear::geom::Geometry* read(const std::string& string);
99 };
100 } // namespace io
101 } // namespace gear
102 } // namespace fire
103 
104 #endif
Definition: Group.hpp:48
classe che specializza l' interfaccia del reader delle geometrie per il formato Well-known text (WKT)...
Definition: WktReader.hpp:43
Definition: Geometry.hpp:69
classe di dichiarazione dell' interfaccia del reader delle geometrie
Definition: Reader.hpp:40