#include <string.h>
Proxy class to access individual characters of the string.
Public Member Functions | |
CharPtr (const CharPtr &rhs) | |
CharPtr & | operator= (const CharPtr &rhs) |
CharPtr & | operator= (CHARTYPE c) |
operator CHARTYPE () const | |
Private Member Functions | |
CharPtr (REFTYPE &str, Int pos) | |
Private Attributes | |
REFTYPE & | _str |
const Int | _pos |
Friends | |
class | String |
class | CString |
CharPtr& operator= | ( | CHARTYPE | c | ) |
Write pointer to a character.
operator CHARTYPE | ( | ) | const |
Read pointer to a character.
|
friend |
|
friend |
|
private |
|
private |