FileStore Class Template Reference
[File and Directory Processing Utilities]

#include <FileStore.hpp>

Inheritance diagram for FileStore:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class HeaderType>
class gpstk::FileStore< HeaderType >

This is an abstract class used to add a list of files and the interface to read files into a datastore.

This is intended to support arbitrary file names, not a list of similiar file names. See the FileHunter framework for support of that type of file.

Definition at line 69 of file FileStore.hpp.

Public Member Functions

 FileStore () throw ()
 Constructor.
virtual ~FileStore ()
 destructor
std::vector< std::string > getFileNames () const
void addFile (const std::string &fn, const HeaderType &header) throw ()
const HeaderType & getHeader (const std::string &fn) throw ()
virtual void loadFile (const std::string &fileName)=0 throw (FileMissingException)
 Load a single file into the store.
virtual void loadFiles (const std::vector< std::string > &fileNames)
unsigned size () const throw ()
 Return the size of the (filename,header) map.


Constructor & Destructor Documentation

FileStore  )  throw () [inline]
 

Constructor.

Definition at line 74 of file FileStore.hpp.

virtual ~FileStore  )  [inline, virtual]
 

destructor

Definition at line 77 of file FileStore.hpp.


Member Function Documentation

void addFile const std::string &  fn,
const HeaderType &  header
throw () [inline]
 

Definition at line 89 of file FileStore.hpp.

std::vector<std::string> getFileNames  )  const [inline]
 

Definition at line 79 of file FileStore.hpp.

const HeaderType& getHeader const std::string &  fn  )  throw () [inline]
 

Definition at line 92 of file FileStore.hpp.

virtual void loadFile const std::string &  fileName  )  throw (FileMissingException) [pure virtual]
 

Load a single file into the store.

Implemented in IonexStore, MSCStore, RinexEphemerisStore, SEMAlmanacStore, SP3EphemerisStore, and YumaAlmanacStore.

virtual void loadFiles const std::vector< std::string > &  fileNames  )  [inline, virtual]
 

Definition at line 99 of file FileStore.hpp.

Referenced by main().

unsigned size void   )  const throw () [inline]
 

Return the size of the (filename,header) map.

Reimplemented in MSCStore.

Definition at line 107 of file FileStore.hpp.


The documentation for this class was generated from the following file:
Generated on Wed Feb 8 03:31:38 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1