IsisDlm  Version 0.2
ISISDLM::FileHandler Class Reference

#include <FileHandler.h>

Public Member Functions

 FileHandler ()
virtual ~FileHandler ()
void setTiledCore ()
void setBsqCore ()
void setAttached ()
void setDetached ()
void setCubeDims (int ns, int nl, int nb=1)
void setCoreType (Isis::PixelType ctype)
void setCoreBase (double base)
void setCoreMult (double mult)
void setCubeSpecs (const Isis::Cube &icube)
Isis::Cube * OpenCube (const std::string &filename, bool readonly=true)
Isis::Cube * CreateCube (const std::string &filename)
Isis::Pvl * OpenPvl (const std::string &filename, bool readonly=true)
Isis::Pvl * CreatePvl (const std::string &filename)

Static Public Attributes

static const char *const ID = "$Revision: 1.2 $ $Date: 2004/11/02 15:38:53 $"
 Class version.

Private Attributes

Isis::Cube * cube
 Store cube being created.

Detailed Description

Specification for opening, creating and closing ISIS related files The FileHandler class handles opening of ISIS cube files and PVL files. It provides the ability to open an existing file for read-only access or for read-write access.

The class supports creating new ISIS files or a PVL file for the express purpose of writing PVL files in an ISIS consistant manner.

Constructor & Destructor Documentation

ISISDLM::FileHandler::FileHandler ( )
inline

References cube.

virtual ISISDLM::FileHandler::~FileHandler ( )
inlinevirtual

References cube.

Member Function Documentation

Cube * ISISDLM::FileHandler::CreateCube ( const std::string &  filename)

References cube.

Referenced by ISISDLM::isis_create().

Pvl * ISISDLM::FileHandler::CreatePvl ( const std::string &  filename)

Referenced by ISISDLM::isis_create().

Cube * ISISDLM::FileHandler::OpenCube ( const std::string &  filename,
bool  readonly = true 
)

References cube.

Referenced by ISISDLM::isis_open().

Pvl * ISISDLM::FileHandler::OpenPvl ( const std::string &  filename,
bool  readonly = true 
)

Referenced by ISISDLM::isis_open().

void ISISDLM::FileHandler::setAttached ( )

References cube.

Referenced by ISISDLM::isis_create().

void ISISDLM::FileHandler::setBsqCore ( )

References cube.

Referenced by ISISDLM::isis_create().

void ISISDLM::FileHandler::setCoreBase ( double  base)

References cube.

void ISISDLM::FileHandler::setCoreMult ( double  mult)

References cube.

void ISISDLM::FileHandler::setCoreType ( Isis::PixelType  ctype)

References cube.

Referenced by ISISDLM::isis_create().

void ISISDLM::FileHandler::setCubeDims ( int  ns,
int  nl,
int  nb = 1 
)

References cube.

Referenced by ISISDLM::isis_create().

void ISISDLM::FileHandler::setCubeSpecs ( const Isis::Cube &  icube)

References cube.

Referenced by ISISDLM::isis_create().

void ISISDLM::FileHandler::setDetached ( )

References cube.

Referenced by ISISDLM::isis_create().

void ISISDLM::FileHandler::setTiledCore ( )

References cube.

Member Data Documentation

Isis::Cube* ISISDLM::FileHandler::cube
private
const char *const ISISDLM::FileHandler::ID = "$Revision: 1.2 $ $Date: 2004/11/02 15:38:53 $"
static

Class version.


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