ppmfiltr.cpp File Reference

(r1785/r1460)

#include "camtypes.h"
#include "ppmfiltr.h"
#include "grndbmp.h"
#include "nodebmp.h"
#include "progress.h"
#include "oilbitmap.h"

Go to the source code of this file.

Defines

#define new   CAM_DEBUG_NEW

Enumerations

enum  PpmTokenIndex {
  PpmTOKEN_NONE = -1, TOKEN_PPM_ASCII, TOKEN_PPM_BINARY, TOKEN_PGM_ASCII,
  TOKEN_PGM_BINARY, TOKEN_PBM_ASCII, TOKEN_PBM_BINARY, PpmNUM_TOKENS
}

Functions

static PpmTokenIndex FindToken (const TCHAR *Token)

Variables

struct {
   TCHAR *   Token
   TCHAR *   Token
   TCHAR *   tag
   INT32   Id
   TCHAR *   Token
   UINT32   Magic
   UINT32   Serial
   wchar_t   Name [BRANDED_NAME_MAX]
   wchar_t   Company [BRANDED_NAME_MAX]
   TCHAR *   Token
   GridType   Type
   UINT32   IDS
   TCHAR *   Token
TokenTable []


Define Documentation

#define new   CAM_DEBUG_NEW
 

Definition at line 123 of file ppmfiltr.cpp.


Enumeration Type Documentation

enum PpmTokenIndex
 

Enumerator:
PpmTOKEN_NONE 
TOKEN_PPM_ASCII 
TOKEN_PPM_BINARY 
TOKEN_PGM_ASCII 
TOKEN_PGM_BINARY 
TOKEN_PBM_ASCII 
TOKEN_PBM_BINARY 
PpmNUM_TOKENS 

Definition at line 128 of file ppmfiltr.cpp.

00129 {
00130     PpmTOKEN_NONE = -1,
00131     TOKEN_PPM_ASCII,
00132     TOKEN_PPM_BINARY,
00133     TOKEN_PGM_ASCII,
00134     TOKEN_PGM_BINARY,
00135     TOKEN_PBM_ASCII,
00136     TOKEN_PBM_BINARY,
00137     // Add new token indexs BEFORE NUM_TOKENS
00138     PpmNUM_TOKENS
00139 };


Function Documentation

static PpmTokenIndex FindToken const TCHAR Token  )  [static]
 

Definition at line 154 of file ppmfiltr.cpp.

00155 {
00156     for (INT32 i = 0; i < PpmNUM_TOKENS; i++)
00157         if (camStrcmp(TokenTable[i].Token,Token) == 0) return (PpmTokenIndex) i;
00158 
00159     return PpmTOKEN_NONE;
00160 }


Variable Documentation

TCHAR* Token
 

Definition at line 143 of file ppmfiltr.cpp.

struct { ... } TokenTable[] [static]
 


Generated on Sat Nov 10 03:49:35 2007 for Camelot by  doxygen 1.4.4