NLAISCRIPT::CStringType Class Reference

#include <lexsupport.h>


Detailed Description

Class CStringType.

Grammar is used in a dictionary stored in a std::map, this class define the comparison between two string.

Author:
Chafik sameh

Nevrax France

Date:
2000

Definition at line 62 of file lexsupport.h.

Public Member Functions

 CStringType (std::string T)
 CStringType (const char *T)
 CStringType ()
bool operator< (const CStringType &a) const
 Need for the std::map.

bool operator> (const CStringType &a) const


Constructor & Destructor Documentation

NLAISCRIPT::CStringType::CStringType  )  [inline]
 

Definition at line 66 of file lexsupport.h.

00066                                      : std::basic_string<char> ()
00067                         {
00068                         }

NLAISCRIPT::CStringType::CStringType const char *  T  )  [inline]
 

Definition at line 70 of file lexsupport.h.

00070                                                   : std::basic_string<char> (T)
00071                         {
00072                         }

NLAISCRIPT::CStringType::CStringType std::string  T  )  [inline]
 

Definition at line 74 of file lexsupport.h.

00074                                                 : std::basic_string<char> (T)
00075                         {
00076                         }


Member Function Documentation

bool NLAISCRIPT::CStringType::operator< const CStringType a  )  const [inline]
 

Need for the std::map.

Definition at line 80 of file lexsupport.h.

00081                         {
00082                                 return compare(a) < 0;
00083                         }

bool NLAISCRIPT::CStringType::operator> const CStringType a  )  const [inline]
 

Definition at line 85 of file lexsupport.h.

00086                         {
00087                                 return compare(a) > 0;
00088                         }


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 12:25:33 2004 for NeL by doxygen 1.3.6