#include <string.h>
Public Member Functions | |
virtual const Base * | bufferedManipulator () const |
virtual uint32 | charSize () const |
virtual void | destroy (String *str) const |
virtual void | insert (String *str, uint32 pos, uint32 len, const String *source) 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 void | setCharAt (String *str, uint32 pos, uint32 chr) const |
virtual void | shrink (String *str) const |
virtual t_type | type () const |
virtual | ~Static () |
Useful to instantiante and manage strings whose content is byte oriented and whose size is known in advance; for example, symbol names in the Falcon module are easily managed with this class.
Every write operation on strings managed by this class will cause its manager to be changed into the Buffer class.
virtual Falcon::csh::Static::~Static | ( | ) | [inline, virtual] |
virtual const Base* Falcon::csh::Static::bufferedManipulator | ( | ) | const [virtual] |
Reimplemented from Falcon::csh::Byte.
Reimplemented in Falcon::csh::Static16, and Falcon::csh::Static32.
virtual uint32 Falcon::csh::Static::charSize | ( | ) | const [inline, virtual] |
virtual void Falcon::csh::Static::destroy | ( | String * | str | ) | const [virtual] |
Implements Falcon::csh::Base.
virtual void Falcon::csh::Static::insert | ( | String * | str, | |
uint32 | pos, | |||
uint32 | len, | |||
const String * | source | |||
) | const [virtual] |
Implements Falcon::csh::Base.
Reimplemented from Falcon::csh::Byte.
Reimplemented in Falcon::csh::Static16, and Falcon::csh::Static32.
virtual void Falcon::csh::Static::reserve | ( | String * | str, | |
uint32 | size, | |||
bool | relative = false , |
|||
bool | block = false | |||
) | const [virtual] |
Reimplemented from Falcon::csh::Byte.
Reimplemented in Falcon::csh::Static16, and Falcon::csh::Static32.
virtual void Falcon::csh::Static::shrink | ( | String * | str | ) | const [virtual] |
Implements Falcon::csh::Base.
virtual t_type Falcon::csh::Static::type | ( | ) | const [inline, virtual] |