|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Variables:
- StringC S;
-
The StringC I'm a substring of
- unsigned int pos;
-
starting position in S's rep
- unsigned int len;
-
length of substring
Methods:
- void assign(const StrRepC *,const char *,int = -1)
-
- SubStringC(StringC & x,int p,int l)
-
- SubStringC(const SubStringC & x)
-
Copy constructor.
- SubStringC(const char * txt)
-
Construct from a 'C' string,
- SubStringC(const StringC & x)
-
- ~SubStringC()
-
- SubStringC & operator=(const StringC & y)
-
- SubStringC & operator=(const SubStringC & y)
-
- SubStringC & operator=(const char * t)
-
- SubStringC & operator=(char c)
-
return 1 if target appears anywhere in SubStringC; else 0
- int contains(char c) const
-
- int contains(const StringC & y) const
-
- int contains(const SubStringC & y) const
-
- int contains(const char * t) const
-
- int contains(const Regex & r) const
-
return 1 if target matches entire SubStringC
- int matches(const Regex & r) const
-
- unsigned int Hash(void) const
-
IO
- ostream & operator<<(ostream & s,const SubStringC & x)
-
status
- unsigned int length() const
-
- int empty() const
-
- const char * chars() const
-
- int OK() const
-
|
Programmer:Based on GNU code by Doug Lea, Modified by Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|