AsteroidDatabaseFile Class Reference

Read-only asteroid files class. More...

#include <orsa_file.h>

Inheritance diagram for AsteroidDatabaseFile:

Inheritance graph
[legend]
Collaboration diagram for AsteroidDatabaseFile:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AsteroidDatabaseFile ()
virtual void read_progress (int, bool &, bool &)
virtual void read_finished ()
void Open ()
virtual void Read ()=0
void Close ()
virtual std::string GetFileName () const
virtual void SetFileName (std::string name_in)
virtual void SetFileName (char *name_in)

Public Attributes

AsteroidDatabasedb

Protected Attributes

std::string filename
FILE_TYPE file
FILE_STATUS status


Detailed Description

Read-only asteroid files class.

Definition at line 250 of file orsa_file.h.


Constructor & Destructor Documentation

AsteroidDatabaseFile (  )  [inline]

Definition at line 252 of file orsa_file.h.

References AsteroidDatabaseFile::db.

00252 : ReadFile() { db = 0; }


Member Function Documentation

virtual void read_progress ( int  ,
bool &  ,
bool &   
) [inline, virtual]

virtual void read_finished (  )  [inline, virtual]

void Open (  )  [inherited]

virtual void Read (  )  [pure virtual, inherited]

void Close (  )  [inherited]

virtual std::string GetFileName (  )  const [inline, virtual, inherited]

Definition at line 99 of file orsa_file.h.

References File::filename.

Referenced by OrsaFile::Read().

00099 { return filename; }

virtual void SetFileName ( std::string  name_in  )  [inline, virtual, inherited]

Definition at line 101 of file orsa_file.h.

References File::Close(), orsa::CLOSE, File::filename, and File::status.

Referenced by OrsaConfigFile::OrsaConfigFile(), and File::SetFileName().

00101                                                         {
00102       if (status != CLOSE) Close();
00103       filename = name_in;
00104     }

Here is the call graph for this function:

virtual void SetFileName ( char *  name_in  )  [inline, virtual, inherited]

Definition at line 106 of file orsa_file.h.

References File::SetFileName().

00106                                                      {
00107       std::string n = name_in;
00108       SetFileName (n);
00109     }

Here is the call graph for this function:


Member Data Documentation

std::string filename [protected, inherited]

FILE_TYPE file [protected, inherited]

FILE_STATUS status [protected, inherited]


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

Generated on Sat May 10 00:04:08 2008 for liborsa by  doxygen 1.5.5