#include <string.h>
Public Member Functions | |
virtual const Base * | bufferedManipulator () const =0 |
virtual void | bufferize (String *str, const String *strOrig) const =0 |
virtual void | bufferize (String *str) const =0 |
virtual bool | change (String *str, uint32 start, uint32 end, const String *source) const =0 |
virtual uint32 | charSize () const =0 |
virtual String * | clone (const String *str) const =0 |
virtual void | destroy (String *str) const =0 |
virtual uint32 | find (const String *str, const String *element, uint32 start=0, uint32 end=npos) const =0 |
Finds a substring in a string, and eventually returns npos if not found. | |
virtual uint32 | getCharAt (const String *str, uint32 pos) const =0 |
virtual void | insert (String *str, uint32 pos, uint32 len, const String *source) const =0 |
virtual uint32 | length (const String *str) const =0 |
virtual void | remove (String *str, uint32 pos, uint32 len) const =0 |
virtual void | reserve (String *str, uint32 size, bool relative=false, bool block=false) const =0 |
virtual uint32 | rfind (const String *str, const String *element, uint32 start=0, uint32 end=npos) const =0 |
virtual void | setCharAt (String *str, uint32 pos, uint32 chr) const =0 |
virtual void | shrink (String *str) const =0 |
virtual void | subString (const String *str, int32 start, int32 end, String *target) const =0 |
virtual t_type | type () const =0 |
virtual | ~Base () |
This is actually an interface that must be implemented by all the core string managers.
virtual Falcon::csh::Base::~Base | ( | ) | [inline, virtual] |
virtual const Base* Falcon::csh::Base::bufferedManipulator | ( | ) | const [pure virtual] |
Implemented in Falcon::csh::Byte, Falcon::csh::Static, Falcon::csh::Static16, and Falcon::csh::Static32.
virtual void Falcon::csh::Base::bufferize | ( | String * | str, | |
const String * | strOrig | |||
) | const [pure virtual] |
Implemented in Falcon::csh::Byte.
virtual void Falcon::csh::Base::bufferize | ( | String * | str | ) | const [pure virtual] |
Implemented in Falcon::csh::Byte.
virtual bool Falcon::csh::Base::change | ( | String * | str, | |
uint32 | start, | |||
uint32 | end, | |||
const String * | source | |||
) | const [pure virtual] |
Implemented in Falcon::csh::Byte.
virtual uint32 Falcon::csh::Base::charSize | ( | ) | const [pure virtual] |
Implemented in Falcon::csh::Byte.
virtual void Falcon::csh::Base::destroy | ( | String * | str | ) | const [pure virtual] |
Implemented in Falcon::csh::Static, and Falcon::csh::Buffer.
virtual uint32 Falcon::csh::Base::find | ( | const String * | str, | |
const String * | element, | |||
uint32 | start = 0 , |
|||
uint32 | end = npos | |||
) | const [pure virtual] |
Finds a substring in a string, and eventually returns npos if not found.
Implemented in Falcon::csh::Byte.
Implemented in Falcon::csh::Byte, Falcon::csh::Static16, Falcon::csh::Static32, Falcon::csh::Buffer16, and Falcon::csh::Buffer32.
virtual void Falcon::csh::Base::insert | ( | String * | str, | |
uint32 | pos, | |||
uint32 | len, | |||
const String * | source | |||
) | const [pure virtual] |
Implemented in Falcon::csh::Static, and Falcon::csh::Buffer.
Implemented in Falcon::csh::Byte, Falcon::csh::Static16, Falcon::csh::Static32, Falcon::csh::Buffer16, and Falcon::csh::Buffer32.
virtual void Falcon::csh::Base::remove | ( | String * | str, | |
uint32 | pos, | |||
uint32 | len | |||
) | const [pure virtual] |
Implemented in Falcon::csh::Byte, Falcon::csh::Static, Falcon::csh::Static16, and Falcon::csh::Static32.
virtual void Falcon::csh::Base::reserve | ( | String * | str, | |
uint32 | size, | |||
bool | relative = false , |
|||
bool | block = false | |||
) | const [pure virtual] |
Implemented in Falcon::csh::Byte, Falcon::csh::Static, Falcon::csh::Buffer, Falcon::csh::Static16, and Falcon::csh::Static32.
virtual uint32 Falcon::csh::Base::rfind | ( | const String * | str, | |
const String * | element, | |||
uint32 | start = 0 , |
|||
uint32 | end = npos | |||
) | const [pure virtual] |
Implemented in Falcon::csh::Byte.
virtual void Falcon::csh::Base::shrink | ( | String * | str | ) | const [pure virtual] |
Implemented in Falcon::csh::Static, and Falcon::csh::Buffer.
virtual void Falcon::csh::Base::subString | ( | const String * | str, | |
int32 | start, | |||
int32 | end, | |||
String * | target | |||
) | const [pure virtual] |
Implemented in Falcon::csh::Byte.
virtual t_type Falcon::csh::Base::type | ( | ) | const [pure virtual] |
Implemented in Falcon::csh::Static, and Falcon::csh::Buffer.