Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
fishnet::GeoTiff Class Reference

GeoTiff handle implementation. More...

#include <GeoTiff.hpp>

Inheritance diagram for fishnet::GeoTiff:
Collaboration diagram for fishnet::GeoTiff:

Public Member Functions

 GeoTiff (std::filesystem::path path)
 
bool remove () const noexcept override
 Removes the file from the filesystem.
 
constexpr GISFileType type () const noexcept override
 Returns the type of GISFile.
 
GeoTiff & move (std::filesystem::path const &path)
 
GeoTiff copy (std::filesystem::path const &path) const
 
std::string toString () const noexcept
 
- Public Member Functions inherited from fishnet::AbstractRasterFile
 AbstractRasterFile (const std::filesystem::path &pathToFile)
 
 AbstractRasterFile (const std::string &pathName)
 
virtual ~AbstractRasterFile ()=default
 
- Public Member Functions inherited from fishnet::AbstractGISFile
const std::filesystem::path & getPath () const noexcept
 
 operator bool () const noexcept
 
bool exists () const noexcept
 Tests if the GISFile exists on the filesystem.
 
bool supports (const std::filesystem::path &path) const noexcept
 Checks if the supplied path is supported by the concrete GISFile implementation.
 
void changeFilename (const std::string &filename) noexcept
 Modifies the path of the GISFile by changing the filename (extension is preserved).
 
void appendToFilename (const std::string &suffix) noexcept
 Appends a suffix to the filename / stem of the GISFile (extension is preserved).
 
virtual ~AbstractGISFile ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from fishnet::AbstractGISFile
void supportsOrThrow (const std::filesystem::path &path) const
 
- Protected Attributes inherited from fishnet::AbstractGISFile
std::filesystem::path pathToFile
 

Detailed Description

GeoTiff handle implementation.

Constructor & Destructor Documentation

◆ GeoTiff()

fishnet::GeoTiff::GeoTiff ( std::filesystem::path  path)
inline

Member Function Documentation

◆ copy()

GeoTiff GeoTiff::copy ( std::filesystem::path const &  path) const

◆ move()

GeoTiff & GeoTiff::move ( std::filesystem::path const &  path)

◆ remove()

bool GeoTiff::remove ( ) const
overridevirtualnoexcept

Removes the file from the filesystem.

Returns
true success
false error

Implements fishnet::AbstractGISFile.

◆ toString()

std::string GeoTiff::toString ( ) const
noexcept

◆ type()

constexpr GISFileType fishnet::GeoTiff::type ( ) const
inlineconstexproverridevirtualnoexcept

Returns the type of GISFile.

Returns
constexpr GISFileType

Implements fishnet::AbstractGISFile.


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