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
ConnectionRaster.hpp
1 // Copyright © 2015 GEOSYSTEMS SRL
2 // All Rights Reserved.
3 
4 #ifndef FIRE_DATA_CONNECTIONRASTER_HPP_INCLUDED
5 #define FIRE_DATA_CONNECTIONRASTER_HPP_INCLUDED
6 
7 #include <map>
8 #include <string>
9 #include <vector>
10 #include <exception>
11 
12 #include "fire/gis/export.hpp"
13 #include "fire/source/Connection.hpp"
14 #include "fire/source/raster/LayerRaster.hpp"
15 
19 namespace fire {
20 namespace source {
21 namespace raster {
22 
23 namespace shared {
24 class ConnectionRasterSh;
25 } // namespace shared
26 
30 class FIRE_GIS_DLL ConnectionRaster : public Connection {
31  public:
33  typedef std::vector< std::string > VctDrivers;
34 
35  virtual ConnectionType::ConnectionType getType() const;
36  virtual bool isValid() const;
37  virtual Features const getFeatures() const;
38  virtual LayerList getLayers() const;
39  virtual source::raster::LayerRaster::LayerRasterShp getLayer(const std::string& name) const;
40  virtual source::raster::LayerRaster::LayerRasterShp getLayer(const std::string& name, const std::string& driver) const;
41  virtual void getRasterDrivers(const std::string& name, VctDrivers& list) const;
42  virtual void getRasterDrivers(const DriverType::DriverType& dt, VctDrivers& list) const;
43  virtual std::string getNamespace() const;
44 
46  virtual ~ConnectionRaster();
47 
48  protected:
49  virtual void _openNoWait();
50  virtual void _closeNoWait();
51 
52  private:
53  typedef std::map< std::string, std::string > MapNamePath;
54 
56  ConnectionRaster & operator=(ConnectionRaster const &);
57 
58  MapNamePath _layers;
59 };
60 
61 } // namespace raster
62 } // namespace source
63 } // namespace fire
64 
65 #endif
Oggetto che consente di verificare la presenza di specifiche funzionalità sull'implementazione di una...
Definition: Features.hpp:21
Classe astratta che implementa l'interfaccia di base di una sorgente dati sia vettoriale che raster...
Definition: Connection.hpp:31
Definition: ConnectionRasterSh.hpp:22
Definition: LayerRasterSh.hpp:18
Definition: ConnectionRaster.hpp:30