genericIO
Public Member Functions | Protected Attributes | List of all members
SEP::genericIO Class Referenceabstract

#include <genericIO.h>

Inheritance diagram for SEP::genericIO:
SEP::jsonGenericIO SEP::sepIO SEP::segyIO

Public Member Functions

std::shared_ptr< SEP::genericRegFilegetRegFile (const std::string &name, const SEP::usage_code usage)
 Return genericRegFile object for this IO (abstract) More...
 
std::shared_ptr< SEP::genericIrregFilegetIrregFile (const std::string &name, const SEP::usage_code usage)
 
virtual std::shared_ptr< SEP::genericRegFilegetRegFileTag (const std::string &tag, const std::string &name, const SEP::usage_code usage)=0
 
virtual std::shared_ptr< SEP::genericIrregFilegetIrregFileTag (const std::string &tag, const std::string &name, const SEP::usage_code usage)=0
 
virtual std::shared_ptr< paramObjgetParamObj ()
 
void addRegFile (std::string x, std::shared_ptr< genericRegFile > r)
 
void addIrregFile (std::string x, std::shared_ptr< genericIrregFile > r)
 
std::shared_ptr< genericRegFilegetRegFile (const std::string x)
 
bool regFileExists (const std::string name)
 
bool irregFileExists (const std::string name)
 
std::shared_ptr< genericIrregFilegetIrregFile (const std::string x)
 
void setValid (const bool x)
 
bool getValid ()
 
virtual void close ()
 
virtual void filesClose ()
 

Protected Attributes

std::map< std::string, std::shared_ptr< genericRegFile > > _regFiles
 
std::map< std::string, std::shared_ptr< genericIrregFile > > _irregFiles
 
std::shared_ptr< paramObj_param
 
bool _valid
 

Detailed Description

Abstract Class for different types IO

Member Function Documentation

◆ getRegFile()

std::shared_ptr< SEP::genericRegFile > genericIO::getRegFile ( const std::string &  name,
const SEP::usage_code  usage 
)

Return genericRegFile object for this IO (abstract)

Parameters
nameThe filetag/name
usageUsage for file

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