#include <iso8211.h>
Public Member Functions | |
void | Dump (FILE *fp) |
const char * | GetName () |
const char * | GetDescription () |
int | GetSubfieldCount () |
DDFSubfieldDefn * | GetSubfield (int i) |
DDFSubfieldDefn * | FindSubfieldDefn (const char *) |
int | GetFixedWidth () |
int | IsRepeating () |
void | SetRepeatingFlag (int n) |
char * | GetDefaultValue (int *pnSize) |
void DDFFieldDefn::Dump | ( | FILE * | fp | ) |
Write out field definition info to debugging file.
A variety of information about this field definition, and all it's subfields is written to the give debugging file handle.
fp | The standard io file handle to write to. ie. stderr |
const char* DDFFieldDefn::GetName | ( | ) | [inline] |
Fetch a pointer to the field name (tag).
const char* DDFFieldDefn::GetDescription | ( | ) | [inline] |
Fetch a longer descriptio of this field.
int DDFFieldDefn::GetSubfieldCount | ( | ) | [inline] |
Get the number of subfields.
DDFSubfieldDefn * DDFFieldDefn::GetSubfield | ( | int | i | ) |
Fetch a subfield by index.
i | The index subfield index. (Between 0 and GetSubfieldCount()-1) |
DDFSubfieldDefn * DDFFieldDefn::FindSubfieldDefn | ( | const char * | pszMnemonic | ) |
Find a subfield definition by it's mnemonic tag.
pszMnemonic | The name of the field. |
int DDFFieldDefn::GetFixedWidth | ( | ) | [inline] |
Get the width of this field. This function isn't normally used by applications.
int DDFFieldDefn::IsRepeating | ( | ) | [inline] |
Fetch repeating flag.
void DDFFieldDefn::SetRepeatingFlag | ( | int | n | ) | [inline] |
this is just for an S-57 hack for swedish data
char * DDFFieldDefn::GetDefaultValue | ( | int * | pnSize | ) |
Return default data for field instance.