Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

MString.cpp File Reference


Compounds

class StringInner

Functions

int used (StringInner *x)
StringInner* allocate (int size = 16)
void deallocate (StringInner *t)
simple_stack<String>* split (const char *x,char separator)
Split a string into a stack of elements, separated by a separator. More...


Variables

const char text_size
const int pre_alloc_entries
const int quantum_size
const int quantum_shift
const int max_size_to_keep
StringInner* pre_alloced [pre_alloc_entries]
const String emptyString


Function Documentation

int used (StringInner * x)

StringInner * allocate (int size = 16) [static]

void deallocate (StringInner * t) [static]

simple_stack<String>* split (const char * x, char separator)

Split a string into a stack of elements, separated by a separator.

Parameters:
x - - the string to split up
separator - - the separator NOTE: repeated separators will produce an empty string. e.g. split("a b",' ') produces "a","","b" as output.

Variable Documentation

const char text_size [static]

const int pre_alloc_entries [static]

const int quantum_size [static]

const int quantum_shift [static]

const int max_size_to_keep [static]

StringInner* pre_alloced[pre_alloc_entries] [static]

const String emptyString


Generated at Wed Apr 25 17:34:43 2001 for NCI SUIF by doxygen  written by Dimitri van Heesch, © 1997-1999