Falcon::csh::Static Class Reference

Static byte oriented string manager. More...

#include <string.h>

Inheritance diagram for Falcon::csh::Static:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual const BasebufferedManipulator () 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 ()


Detailed Description

Static byte oriented string manager.

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.


Constructor & Destructor Documentation

virtual Falcon::csh::Static::~Static (  )  [inline, virtual]


Member Function Documentation

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.

virtual void Falcon::csh::Static::remove ( String str,
uint32  pos,
uint32  len 
) const [virtual]

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::setCharAt ( String str,
uint32  pos,
uint32  chr 
) const [virtual]

virtual void Falcon::csh::Static::shrink ( String str  )  const [virtual]

Implements Falcon::csh::Base.

virtual t_type Falcon::csh::Static::type (  )  const [inline, virtual]

Implements Falcon::csh::Base.

References Falcon::csh::cs_static.


The documentation for this class was generated from the following file:

Generated on Mon Oct 19 10:11:50 2009 for Falcon_Core by  doxygen 1.5.8