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

#include <GISFile.hpp>

Inheritance diagram for fishnet::AbstractRasterFile:
Collaboration diagram for fishnet::AbstractRasterFile:

Public Member Functions

 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 constexpr GISFileType type () const noexcept=0
 Returns the type of GISFile.
 
virtual bool remove () const noexcept=0
 Removes the file from the filesystem.
 
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
 

Constructor & Destructor Documentation

◆ AbstractRasterFile() [1/2]

fishnet::AbstractRasterFile::AbstractRasterFile ( const std::filesystem::path &  pathToFile)
inlineexplicit

◆ AbstractRasterFile() [2/2]

fishnet::AbstractRasterFile::AbstractRasterFile ( const std::string &  pathName)
inlineexplicit

◆ ~AbstractRasterFile()

virtual fishnet::AbstractRasterFile::~AbstractRasterFile ( )
virtualdefault

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