#include <iso8211.h>
Public Member Functions | |
| DDFModule () | |
| ~DDFModule () | |
| int | Open (const char *pszFilename, int bFailQuietly=FALSE) |
| void | Close () |
| void | Dump (FILE *fp) |
| DDFRecord * | ReadRecord (void) |
| void | Rewind (long nOffset=-1) |
| DDFFieldDefn * | FindFieldDefn (const char *) |
| int | GetFieldCount () |
| DDFFieldDefn * | GetField (int) |
| void | AddField (DDFFieldDefn *poNewFDefn) |
|
|
The constructor. |
|
|
The destructor. |
|
|
Add new field definition. Field definitions may only be added to DDFModules being used for writing, not those being used for reading. Ownership of the DDFFieldDefn object is taken by the DDFModule.
|
|
|
Close an ISO 8211 file. |
|
|
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.
|
|
|
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.
|
|
|
Fetch the number of defined fields. |
|
||||||||||||
|
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.
|
|
|
Read one record from the file.
|
|
|
Return to first record. The next call to ReadRecord() will read the first data record in the file.
|
1.4.6