#include <ABItype.h>
Public Member Functions | |
| ABItype () | |
| Constructor. | |
| ~ABItype () | |
| Destructor, deletes flags and their associated data. | |
| int | getRecord (wxString id, int num) |
| Finds a specific record in the parsed data. | |
| int | getRecordValue (wxString id, int num) |
| Returns the (integer) value of a specific record in the parsed data. | |
| wxString | getRecordPascalString (wxString id, int num) |
| Returns the string value of a specific record in the parsed data. | |
| wxString | getSequence (int num=2) |
| Finds a specific sequence record. | |
| int | getMacOffset (unsigned char *t) |
| Deterimnes the position of the "ABIF" key. | |
| void | parse (wxString filename) |
| Parses an ABI format file. | |
| TFLAG | getFlag (unsigned char *t, int &from) |
| Sets a TFLAG structure from the data. | |
| wxString | getStr (unsigned char *t, int from, int len) |
| wxString | getText (unsigned char *t, int &from) |
| Reads a Pascal-like string. | |
| int | getInt1 (unsigned char *t, int &from) |
| Reads a 1-byte number. | |
| int | getInt2 (unsigned char *t, int &from) |
| Reads a 2-byte number. | |
| int | getInt4 (unsigned char *t, int &from) |
| Reads a 4-byte number. | |
| int | getInt10 (unsigned char *t, int &from) |
| Jumps ahead 10 bytes, ignores contents. | |
| int | getCMBF (unsigned char *t, int l) |
| Reads a Pascal-like string with known length. | |
Public Attributes | |
| vector< TFLAG > | vf |
| All the flags. | |
|
|
Constructor.
|
|
|
Destructor, deletes flags and their associated data.
|
|
||||||||||||
|
Reads a Pascal-like string with known length.
|
|
||||||||||||
|
Sets a TFLAG structure from the data.
|
|
||||||||||||
|
Reads a 1-byte number.
|
|
||||||||||||
|
Jumps ahead 10 bytes, ignores contents.
|
|
||||||||||||
|
Reads a 2-byte number.
|
|
||||||||||||
|
Reads a 4-byte number.
|
|
|
Deterimnes the position of the "ABIF" key.
|
|
||||||||||||
|
Finds a specific record in the parsed data.
|
|
||||||||||||
|
Returns the string value of a specific record in the parsed data.
|
|
||||||||||||
|
Returns the (integer) value of a specific record in the parsed data.
|
|
|
Finds a specific sequence record.
|
|
||||||||||||||||
|
|
|
||||||||||||
|
Reads a Pascal-like string.
|
|
|
Parses an ABI format file.
|
|
|
All the flags.
|
1.4.1