Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MNSubString Class Reference
[The String class from the historic libg++]

#include <MNString.h>

Collaboration diagram for MNSubString:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MNSubString (MNString &x, int p, int l)
 MNSubString (const MNSubString &x)
 ~MNSubString ()
MNSubStringoperator= (const MNString &y)
MNSubStringoperator= (const MNSubString &y)
MNSubStringoperator= (const char *t)
MNSubStringoperator= (char c)
int contains (char c) const
int contains (const MNString &y) const
int contains (const MNSubString &y) const
int contains (const char *t) const
int contains (const MNRegex &r) const
int matches (const MNRegex &r) const
unsigned int length () const
int empty () const
const char * chars () const
int OK () const

Protected Member Functions

void assign (const MNStrRep *, const char *, int=-1)

Protected Attributes

MNStringS
unsigned short pos
unsigned short len

Friends

std::ostream & operator<< (std::ostream &s, const MNSubString &x)

Detailed Description

A helper class to identify parts of a complete string.


Member Function Documentation

void MNSubString::assign const MNStrRep ,
const char *  ,
int  = -1
[protected]
 

int MNSubString::contains const MNRegex r  )  const
 

int MNSubString::contains const char *  t  )  const
 

int MNSubString::contains const MNSubString y  )  const
 

int MNSubString::contains const MNString y  )  const
 

int MNSubString::contains char  c  )  const
 

int MNSubString::matches const MNRegex r  )  const
 

int MNSubString::OK  )  const
 


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  s,
const MNSubString x
[friend]
 


Member Data Documentation

unsigned short MNSubString::len [protected]
 

unsigned short MNSubString::pos [protected]
 

MNString& MNSubString::S [protected]
 


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:36:03 2005 for Komssys by doxygen 1.3.8