Item Struct Reference

List of all members.

Public Member Functions

 Item (const TCHAR *s, INT32 ps, ArgType t)
 ~Item ()

Public Attributes

TCHARstr
ArgType type
INT32 pos
Itemnext

Static Public Attributes

static Itemhead = 0
static Itemtail = 0

Detailed Description

Definition at line 223 of file makemsg.cpp.


Constructor & Destructor Documentation

Item::Item const TCHAR s,
INT32  ps,
ArgType  t
 

Definition at line 243 of file makemsg.cpp.

00244 {
00245     camStrcpy(str = new TCHAR[camStrlen(s) + 1], s);
00246     pos = ps;
00247     type = t;
00248     next = 0;
00249     if (tail) tail = tail->next = this;
00250         else head = tail = this;
00251 }

Item::~Item  ) 
 

Definition at line 258 of file makemsg.cpp.

00259 {
00260     delete[] str;
00261     if (next) delete next;
00262         else head = tail = 0;
00263 }


Member Data Documentation

Item * Item::head = 0 [static]
 

Definition at line 230 of file makemsg.cpp.

Item* Item::next
 

Definition at line 228 of file makemsg.cpp.

INT32 Item::pos
 

Definition at line 227 of file makemsg.cpp.

TCHAR* Item::str
 

Definition at line 225 of file makemsg.cpp.

Item * Item::tail = 0 [static]
 

Definition at line 231 of file makemsg.cpp.

ArgType Item::type
 

Definition at line 226 of file makemsg.cpp.


The documentation for this struct was generated from the following file:
Generated on Sat Nov 10 03:55:33 2007 for Camelot by  doxygen 1.4.4