#include <iso8211.h>
Public Members | |||
![]() | ![]() | DDFModule () | |
![]() | ![]() | The constructor. | |
![]() | ![]() | ~DDFModule () | |
![]() | ![]() | The destructor. | |
![]() | ![]() | int | Open ( const char * pszFilename ) |
![]() | ![]() | Open a ISO 8211 (DDF) file for reading. More... | |
![]() | ![]() | void | Close () |
![]() | ![]() | Close an ISO 8211 file. | |
![]() | ![]() | void | Dump ( FILE * fp ) |
![]() | ![]() | Write out module info to debugging file. More... | |
![]() | ![]() | DDFRecord* | ReadRecord ( void ) |
![]() | ![]() | Read one record from the file. More... | |
![]() | ![]() | void | Rewind ( long nOffset = -1 ) |
![]() | ![]() | Return to first record. More... | |
![]() | ![]() | DDFFieldDefn* | FindFieldDefn ( const char * ) |
![]() | ![]() | Fetch the definition of the named field. More... | |
![]() | ![]() | int | GetFieldCount () |
![]() | ![]() | Fetch the number of defined fields. | |
![]() | ![]() | DDFFieldDefn* | GetField (int) |
![]() | ![]() | Fetch a field definition by index. More... | |
This class contains all the information read from the DDR record, and is used to read records from the file.
Open a ISO 8211 (DDF) file for reading.
If the open succeeds the data descriptive record (DDR) will have been read, and all the field and subfield definitions will be available.
Write out module info to debugging file.
A variety of information about the module is written to the debugging file. This includes all the field and subfield definitions read from the header.
Read one record from the file.
Return to first record.
The next call to ReadRecord() will read the first data record in the file.
Fetch the definition of the named field.
This function will scan the DDFFieldDefn's on this module, to find one with the indicated field name.
Fetch a field definition by index.
written by Dimitri van Heesch, © 1997-1999