Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::Symbol Struct Reference

#include <Hash.h>

Collaboration diagram for PLearn::Symbol:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Symbol (int symbol=0)
 Symbol (const Symbol &b)
 operator char * () const
size_t byteLength () const
 operator int ()
bool operator== (const Symbol &o) const
bool operator!= (const Symbol &o) const
Symbol operator++ (int)
 postfix

Symbol operator++ ()
 prefix


Public Attributes

int s

Detailed Description

this class is just an "int" and is created only to avoid conflicts within Array methods (to build Array<Symbol> because Array<int> does not work) It is also useful as a key for Hash tables

Definition at line 630 of file Hash.h.


Constructor & Destructor Documentation

PLearn::Symbol::Symbol int  symbol = 0  )  [inline]
 

Definition at line 633 of file Hash.h.

References s.

PLearn::Symbol::Symbol const Symbol b  )  [inline]
 

Definition at line 634 of file Hash.h.

References s.


Member Function Documentation

size_t PLearn::Symbol::byteLength  )  const [inline]
 

Definition at line 637 of file Hash.h.

PLearn::Symbol::operator char *  )  const [inline]
 

Definition at line 635 of file Hash.h.

References s.

PLearn::Symbol::operator int  )  [inline]
 

Definition at line 638 of file Hash.h.

References s.

bool PLearn::Symbol::operator!= const Symbol o  )  const [inline]
 

Definition at line 640 of file Hash.h.

References s.

Symbol PLearn::Symbol::operator++  )  [inline]
 

prefix

Definition at line 642 of file Hash.h.

References s.

Symbol PLearn::Symbol::operator++ int   )  [inline]
 

postfix

Definition at line 641 of file Hash.h.

References s.

bool PLearn::Symbol::operator== const Symbol o  )  const [inline]
 

Definition at line 639 of file Hash.h.

References s.


Member Data Documentation

int PLearn::Symbol::s
 

Definition at line 632 of file Hash.h.

Referenced by operator char *(), operator int(), operator!=(), operator++(), operator==(), and Symbol().


The documentation for this struct was generated from the following file:
Generated on Tue Aug 17 16:23:51 2004 for PLearn by doxygen 1.3.7