CheckFrame Class Reference
[Frame utilities]

#include <CheckFrame.hh>

List of all members.

Public Member Functions

 CheckFrame (std::istream &in)
virtual ~CheckFrame (void)
virtual void ErrorOut (const std::string &error)
void Check (void) throw (BadFile)
void setProcess (int ID)
void procSH (void)
virtual void procID (void)


Detailed Description

Check a frame file for consistency with the structure defined for IGWD frame files. Fatal errors are flagged with BadFile exceptions. Other ugliness is printed using the ErrorOut method. brief Check a frame file.
Author:
John Zweizig
Version:
1.0; Modified April 17,2000

Constructor & Destructor Documentation

CheckFrame::CheckFrame ( std::istream &  in  ) 

Construc a Frame checker. brief Checker constructor.

virtual CheckFrame::~CheckFrame ( void   )  [virtual]

Destructor


Member Function Documentation

virtual void CheckFrame::ErrorOut ( const std::string &  error  )  [virtual]

Print an error message to the desired location. By default this method prints to cout, but the method may be substituted with other methods. brief Write an error message

Parameters:
error Error message string.

void CheckFrame::Check ( void   )  throw (BadFile)

Scan through a frame file, checking for consistency with the IGWD frame specification.

void CheckFrame::setProcess ( int  ID  ) 

Specify that an ID is to be processed by procID.

void CheckFrame::procSH ( void   ) 

Process an SH record.

virtual void CheckFrame::procID ( void   )  [virtual]

Process one of the selected structure types.


The documentation for this class was generated from the following file:
Generated on Sun Mar 8 19:21:05 2009 for dmt by  doxygen 1.5.4