COLLADA 1.4 DOM: daeStringTable Class Reference

COLLADA

daeStringTable Class Reference

#include <daeStringTable.h>

Collaboration diagram for daeStringTable:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Public Member Functions

 daeStringTable (int stringBufferSize=1024 *1024)
 Constructor which specifies fixed buffer size.
 ~daeStringTable ()
 Destructor.
daeString allocString (daeString string)
 Allocates a string from the table.
void clear ()
 Clears the storage.

Public Attributes

 DAE_ALLOC
 Macro that defines new and delete overrides for this class.

Constructor & Destructor Documentation

daeStringTable::daeStringTable int  stringBufferSize = 1024 *1024  ) 
 

Constructor which specifies fixed buffer size.

Parameters:
stringBufferSize The size of the buffer to create for string allocation.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
  • C:/SVN_wf/COLLADA_DOM/include/dae/daeStringTable.h
  • C:/SVN_wf/COLLADA_DOM/src/dae/daeStringTable.cpp

©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:47:04 2006 for COLLADA 1.4 DOM by doxygen 1.4.3