#include <string.h>
Public Member Functions | |
virtual const Base * | bufferedManipulator () const |
virtual void | bufferize (String *str, const String *strOrig) const |
virtual void | bufferize (String *str) const |
virtual bool | change (String *str, uint32 pos, uint32 end, const String *source) const |
virtual String * | clone (const String *str) const |
virtual uint32 | find (const String *str, const String *element, uint32 start=0, uint32 end=0) const |
Finds a substring in a string, and eventually returns npos if not found. | |
virtual uint32 | getCharAt (const String *str, uint32 pos) const |
virtual uint32 | length (const String *str) const |
virtual void | remove (String *str, uint32 pos, uint32 len) const |
virtual void | reserve (String *str, uint32 size, bool relative=false, bool block=false) const |
virtual uint32 | rfind (const String *str, const String *element, uint32 start=0, uint32 end=0) const |
virtual void | subString (const String *str, int32 start, int32 end, String *target) const |
virtual | ~Byte () |
This is still an abstract class, but it provides minimal behavior for byte oriented strings (ascii or system specific).
virtual Falcon::csh::Byte::~Byte | ( | ) | [inline, virtual] |
virtual const Base* Falcon::csh::Byte::bufferedManipulator | ( | ) | const [inline, virtual] |
Implements Falcon::csh::Base.
Reimplemented in Falcon::csh::Static, Falcon::csh::Static16, and Falcon::csh::Static32.
Implements Falcon::csh::Base.
virtual void Falcon::csh::Byte::bufferize | ( | String * | str | ) | const [virtual] |
Implements Falcon::csh::Base.
virtual bool Falcon::csh::Byte::change | ( | String * | str, | |
uint32 | pos, | |||
uint32 | end, | |||
const String * | source | |||
) | const [virtual] |
Implements Falcon::csh::Base.
Implements Falcon::csh::Base.
virtual uint32 Falcon::csh::Byte::find | ( | const String * | str, | |
const String * | element, | |||
uint32 | start = 0 , |
|||
uint32 | end = 0 | |||
) | const [virtual] |
Finds a substring in a string, and eventually returns npos if not found.
Implements Falcon::csh::Base.
Implements Falcon::csh::Base.
Reimplemented in Falcon::csh::Static16, Falcon::csh::Static32, Falcon::csh::Buffer16, and Falcon::csh::Buffer32.
Implements Falcon::csh::Base.
Reimplemented in Falcon::csh::Static16, Falcon::csh::Static32, Falcon::csh::Buffer16, and Falcon::csh::Buffer32.
Implements Falcon::csh::Base.
Reimplemented in Falcon::csh::Static, Falcon::csh::Static16, and Falcon::csh::Static32.
virtual void Falcon::csh::Byte::reserve | ( | String * | str, | |
uint32 | size, | |||
bool | relative = false , |
|||
bool | block = false | |||
) | const [virtual] |
Implements Falcon::csh::Base.
Reimplemented in Falcon::csh::Static, Falcon::csh::Buffer, Falcon::csh::Static16, and Falcon::csh::Static32.
virtual uint32 Falcon::csh::Byte::rfind | ( | const String * | str, | |
const String * | element, | |||
uint32 | start = 0 , |
|||
uint32 | end = 0 | |||
) | const [virtual] |
Implements Falcon::csh::Base.
virtual void Falcon::csh::Byte::subString | ( | const String * | str, | |
int32 | start, | |||
int32 | end, | |||
String * | target | |||
) | const [virtual] |
Implements Falcon::csh::Base.