|
djiparsetxt
|
#include <sys/types.h>#include <stdlib.h>

Go to the source code of this file.
Data Structures | |
| class | DJITxtParser |
Macros | |
| #define | DEBUG_RECORD_PARSING 1 |
| #define | END_OF_DATA 1 |
Functions | |
| u_int8_t | getByte (u_int8_t const *&ptr, u_int8_t const *limit=NULL) |
| u_int16_t | get2BytesBE (u_int8_t const *&ptr, u_int8_t const *limit=NULL) |
| u_int16_t | get2BytesLE (u_int8_t const *&ptr, u_int8_t const *limit=NULL) |
| unsigned | getWord32BE (u_int8_t const *&ptr, u_int8_t const *limit=NULL) |
| unsigned | getWord32LE (u_int8_t const *&ptr, u_int8_t const *limit=NULL) |
| u_int64_t | getWord64LE (u_int8_t const *&ptr, u_int8_t const *limit=NULL) |
| void | printString (char const *label, u_int8_t const *&ptr, unsigned stringLength, u_int8_t const *limit=NULL) |
| void | printHex (char const *label, u_int8_t const *&ptr, u_int8_t const *limit) |
| #define DEBUG_RECORD_PARSING 1 |
Definition at line 33 of file DJITxtParser.hh.
| #define END_OF_DATA 1 |
Definition at line 47 of file DJITxtParser.hh.
| u_int16_t get2BytesBE | ( | u_int8_t const *& | ptr, |
| u_int8_t const * | limit = NULL |
||
| ) |
Definition at line 34 of file DJITxtParser.cpp.
References END_OF_DATA.
Referenced by RecordAndDetailsParser::parseRecord(), and RecordAndDetailsParser::parseRecord_JPEG().

| u_int16_t get2BytesLE | ( | u_int8_t const *& | ptr, |
| u_int8_t const * | limit = NULL |
||
| ) |
Definition at line 41 of file DJITxtParser.cpp.
References END_OF_DATA.
Referenced by main(), RecordAndDetailsParser::note2ByteDateField(), RecordAndDetailsParser::note2ByteField(), and RecordAndDetailsParser::parseRecord_COMPONENT().

| u_int8_t getByte | ( | u_int8_t const *& | ptr, |
| u_int8_t const * | limit = NULL |
||
| ) |
Definition at line 29 of file DJITxtParser.cpp.
References END_OF_DATA.
Referenced by RecordAndDetailsParser::note3ByteVersionField(), RecordAndDetailsParser::noteByteField(), RecordAndDetailsParser::parseRecord(), RecordAndDetailsParser::parseRecord_COMPONENT(), RecordAndDetailsParser::parseRecord_DEFORM(), RecordAndDetailsParser::parseRecord_GIMBAL(), RecordAndDetailsParser::parseRecord_HOME(), RecordAndDetailsParser::parseRecord_OSD(), RecordAndDetailsParser::parseRecord_RC(), and RecordAndDetailsParser::parseRecord_SMART_BATTERY().

| unsigned getWord32BE | ( | u_int8_t const *& | ptr, |
| u_int8_t const * | limit = NULL |
||
| ) |
| unsigned getWord32LE | ( | u_int8_t const *& | ptr, |
| u_int8_t const * | limit = NULL |
||
| ) |
Definition at line 55 of file DJITxtParser.cpp.
References END_OF_DATA.
Referenced by getWord64LE(), RecordAndDetailsParser::note4ByteField(), and RecordAndDetailsParser::note4ByteFloatField().

| u_int64_t getWord64LE | ( | u_int8_t const *& | ptr, |
| u_int8_t const * | limit = NULL |
||
| ) |
Definition at line 62 of file DJITxtParser.cpp.
References getWord32LE().
Referenced by main(), RecordAndDetailsParser::note8ByteDoubleField(), RecordAndDetailsParser::note8ByteLatitudeOrLongitudeFieldInDegrees(), RecordAndDetailsParser::note8ByteLatitudeOrLongitudeFieldInRadians(), and RecordAndDetailsParser::note8ByteTimestampField().

| void printHex | ( | char const * | label, |
| u_int8_t const *& | ptr, | ||
| u_int8_t const * | limit | ||
| ) |
Definition at line 83 of file DJITxtParser.cpp.
Referenced by RecordAndDetailsParser::parseRecordUnknownFormat().

| void printString | ( | char const * | label, |
| u_int8_t const *& | ptr, | ||
| unsigned | stringLength, | ||
| u_int8_t const * | limit = NULL |
||
| ) |
1.8.15