units.cpp File Reference

(r1785/r1282)

#include "camtypes.h"

Go to the source code of this file.

Defines

#define new   CAM_DEBUG_NEW

Enumerations

enum  UnTokenIndex {
  UnTOKEN_NONE = -1, TOKEN_UNIT, TOKEN_PAGEUNITS, TOKEN_FONTUNITS,
  TOKEN_UNITSEND, UnNUM_TOKENS
}

Functions

 DECLARE_SOURCE ("$Revision: 1282 $")
static UnTokenIndex 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 116 of file units.cpp.


Enumeration Type Documentation

enum UnTokenIndex
 

Enumerator:
UnTOKEN_NONE 
TOKEN_UNIT 
TOKEN_PAGEUNITS 
TOKEN_FONTUNITS 
TOKEN_UNITSEND 
UnNUM_TOKENS 

Definition at line 1653 of file units.cpp.

01654 {
01655     UnTOKEN_NONE = -1,
01656     TOKEN_UNIT,
01657     TOKEN_PAGEUNITS,
01658     TOKEN_FONTUNITS,
01659     TOKEN_UNITSEND,
01660     // Add new token indexs BEFORE NUM_TOKENS
01661     UnNUM_TOKENS
01662 };


Function Documentation

DECLARE_SOURCE "$Revision: 1282 $"   ) 
 

static UnTokenIndex FindToken const TCHAR Token  )  [static]
 

Definition at line 1665 of file units.cpp.

01666 {
01667     for (INT32 i = 0; i < UnNUM_TOKENS; i++)
01668         if (camStrcmp(TokenTable[i].Token,Token) == 0) return (UnTokenIndex) i;
01669 
01670     return UnTOKEN_NONE;
01671 }


Variable Documentation

TCHAR* Token
 

Definition at line 1643 of file units.cpp.

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


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