zmm::StringTokenizer Class Reference

#include <stringtokenizer.h>

Inheritance diagram for zmm::StringTokenizer:
zmm::Object

Public Member Functions

 StringTokenizer (String str)
String nextToken (String seps)
void retain ()
void release ()
int getRefCount ()

Static Public Member Functions

static void * operator new (size_t size)
static void operator delete (void *ptr)

Protected Attributes

String str
int len
int pos
mt_atomic_t _ref_count
pthread_mutex_t mutex

Detailed Description

Definition at line 40 of file stringtokenizer.h.


Constructor & Destructor Documentation

StringTokenizer::StringTokenizer ( String  str  ) 

Definition at line 42 of file stringtokenizer.cc.

References len, zmm::String::length(), and pos.


Member Function Documentation

int Object::getRefCount (  )  [inherited]

Definition at line 78 of file object.cc.

References zmm::Object::_ref_count, and atomic_get().

String StringTokenizer::nextToken ( String  seps  ) 

Definition at line 48 of file stringtokenizer.cc.

References zmm::String::c_str(), len, nil, pos, str, and zmm::String::substring().

void Object::operator delete ( void *  ptr  )  [static, inherited]

Definition at line 87 of file object.cc.

References FREE.

void * Object::operator new ( size_t  size  )  [static, inherited]

Definition at line 83 of file object.cc.

References MALLOC.

void Object::release (  )  [inherited]
void Object::retain (  )  [inherited]

Field Documentation

mt_atomic_t zmm::Object::_ref_count [protected, inherited]
int zmm::StringTokenizer::len [protected]

Definition at line 47 of file stringtokenizer.h.

Referenced by nextToken(), and StringTokenizer().

pthread_mutex_t zmm::Object::mutex [protected, inherited]
int zmm::StringTokenizer::pos [protected]

Definition at line 48 of file stringtokenizer.h.

Referenced by nextToken(), and StringTokenizer().

Definition at line 46 of file stringtokenizer.h.

Referenced by nextToken().


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

Generated on Fri Mar 26 20:16:59 2010 for MediaTomb by  doxygen 1.6.1