liborigin2: /build/liborigin2/src/liborigin2/OriginDefaultParser.cpp File Reference

liborigin2 29/08/2011

Macros | Functions
/build/liborigin2/src/liborigin2/OriginDefaultParser.cpp File Reference
`#include "OriginDefaultParser.h"`
`#include <stdio.h>`
`#include <iostream>`
`#include <stdlib.h>`
`#include <math.h>`
`#include <cstring>`

## Macros
#define | ERROR_MSG "Please send the OPJ file and the opjfile.log to the author of liborigin!\n"
#define | MAX_LEVEL 20
#define | SwapBytes(x) ByteSwap((unsigned char *) &x,sizeof(x))

## Functions
void | ByteSwap (unsigned char *b, int n)
OriginParser * | createOriginDefaultParser (const string &fileName)
bool | IsBigEndian ()

## Macro Definition Documentation

## ◆ ERROR_MSG

#define ERROR_MSG "Please send the OPJ file and the opjfile.log to the author of liborigin!\n"

## ◆ MAX_LEVEL

#define MAX_LEVEL 20

Referenced by OriginDefaultParser::parse().

## ◆ SwapBytes

#define SwapBytes | ( |  | x | ) | ByteSwap((unsigned char *) &x,sizeof(x))

Referenced by OriginDefaultParser::parse().

## Function Documentation

## ◆ ByteSwap()

void ByteSwap | ( | unsigned char * | b,
|  | int | n
| ) |  |

## ◆ createOriginDefaultParser()

OriginParser* createOriginDefaultParser | ( | const string & | fileName | ) |

## ◆ IsBigEndian()

bool IsBigEndian | ( |  | ) |

Referenced by OriginDefaultParser::parse().