Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

GRIB_FILE Class Reference

GRIB level 1 file. More...

#include <GRIB.h>

List of all members.

Public Methods

 GRIB_FILE ()
 Constructor.

 ~GRIB_FILE ()
 Destructor.

int OpenRead (char *fname)
 Open grib file for read param fname: file name with full path.

int OpenRead (std::string fname)
 Open grib file for read param fname: file name with full path.

int OpenWrite (char *fname)
 Open grib file for write. File is truncated param fname: file name with full path.

int OpenWrite (std::string fname)
 Open grib file for write. File is truncated param fname: file name with full path.

int Append (char *fname)
 Open grib file for append param fname: file name with full path.

int Append (std::string fname)
 Open grib file for append param fname: file name with full path.

int ReadMessage (GRIB_MESSAGE &message)
 Read message from file.

int WriteMessage (GRIB_MESSAGE &message)
 Write message to file.

int Close ()
 Close previously opened file.


Detailed Description

GRIB level 1 file.

Definition at line 1092 of file GRIB.h.


Constructor & Destructor Documentation

GRIB_FILE::GRIB_FILE  
 

Constructor.

Definition at line 1969 of file GRIB.cpp.

GRIB_FILE::~GRIB_FILE  
 

Destructor.

Definition at line 2059 of file GRIB.cpp.

References Close().


Member Function Documentation

int GRIB_FILE::Append std::string    fname
 

Open grib file for append param fname: file name with full path.

Definition at line 2042 of file GRIB.cpp.

References Append().

int GRIB_FILE::Append char *    fname
 

Open grib file for append param fname: file name with full path.

Definition at line 2030 of file GRIB.cpp.

Referenced by Append().

int GRIB_FILE::Close  
 

Close previously opened file.

Definition at line 2047 of file GRIB.cpp.

Referenced by ~GRIB_FILE().

int GRIB_FILE::OpenRead std::string    fname
 

Open grib file for read param fname: file name with full path.

Definition at line 2008 of file GRIB.cpp.

References OpenRead().

int GRIB_FILE::OpenRead char *    fname
 

Open grib file for read param fname: file name with full path.

Definition at line 1978 of file GRIB.cpp.

Referenced by OpenRead().

int GRIB_FILE::OpenWrite std::string    fname
 

Open grib file for write. File is truncated param fname: file name with full path.

Definition at line 2025 of file GRIB.cpp.

References OpenWrite().

int GRIB_FILE::OpenWrite char *    fname
 

Open grib file for write. File is truncated param fname: file name with full path.

Definition at line 2013 of file GRIB.cpp.

Referenced by OpenWrite().

int GRIB_FILE::ReadMessage GRIB_MESSAGE   message
 

Read message from file.

Parameters:
message:  Output decoded message

Definition at line 2061 of file GRIB.cpp.

References GRIB_MESSAGE::Decode().

int GRIB_FILE::WriteMessage GRIB_MESSAGE   message
 

Write message to file.

Parameters:
message:  Input decoded message

Definition at line 2097 of file GRIB.cpp.

References GRIB_MESSAGE::Encode(), GRIB_MESSAGE::message, and GRIB_MESSAGE::reclen.


The documentation for this class was generated from the following files:
Generated on Fri Sep 10 09:52:08 2004 for GRIBLIB by doxygen1.2.18