#include <MNString.h>
Collaboration diagram for MNSubString:
Public Member Functions | |
MNSubString (MNString &x, int p, int l) | |
MNSubString (const MNSubString &x) | |
~MNSubString () | |
MNSubString & | operator= (const MNString &y) |
MNSubString & | operator= (const MNSubString &y) |
MNSubString & | operator= (const char *t) |
MNSubString & | operator= (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 | |
MNString & | S |
unsigned short | pos |
unsigned short | len |
Friends | |
std::ostream & | operator<< (std::ostream &s, const MNSubString &x) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|