daeStringTable Class Reference

#include <daeStringTable.h>

List of all members.

Public Member Functions

DLLSPEC daeString allocString (daeString string)
DLLSPEC void clear ()
DAE_ALLOC DLLSPEC daeStringTable (int stringBufferSize=1024 *1024)
 ~daeStringTable ()

Private Member Functions

daeString allocateBuffer ()

Private Attributes

daeString _empty
size_t _stringBufferIndex
size_t _stringBufferSize
daeStringArray _stringBuffersList

Detailed Description

The daeStringTable is a simple string table class to hold a float list of strings without a lot of allocations.

Definition at line 18 of file daeStringTable.h.


Constructor & Destructor Documentation

DAE_ALLOC DLLSPEC daeStringTable::daeStringTable ( int  stringBufferSize = 1024 *1024  ) 

Macro that defines new and delete overrides for this class Constructor which specifies fixed buffer size.

Parameters:
stringBufferSize The size of the buffer to create for string allocation.
daeStringTable::~daeStringTable (  )  [inline]

Destructor.

Definition at line 34 of file daeStringTable.h.


Member Function Documentation

daeString daeStringTable::allocateBuffer (  )  [private]
DLLSPEC daeString daeStringTable::allocString ( daeString  string  ) 

Allocates a string from the table.

Parameters:
string  const char * to copy into the table.
Returns:
Returns an allocated string.
DLLSPEC void daeStringTable::clear (  ) 

Clears the storage.


Member Data Documentation

Definition at line 56 of file daeStringTable.h.

Definition at line 51 of file daeStringTable.h.

Definition at line 50 of file daeStringTable.h.

Definition at line 52 of file daeStringTable.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


colladadom
Author(s): Du Hung Hou, Khronos.org, Marcus Barnes, Greg Corson, Herbert Law, Sebastian Schwarz, Steven Thomas, John Hsu (ros package), Tim Field (ros package)
autogenerated on Fri Jan 11 09:29:16 2013