Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

base::SmallObjAllocator Class Reference

Inheritance diagram for base::SmallObjAllocator:

Inheritance graph
[legend]
Collaboration diagram for base::SmallObjAllocator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SmallObjAllocator (std::size_t chunkSize, std::size_t maxObjectSize)
void * Allocate (std::size_t numBytes)
void Deallocate (void *p, std::size_t size)

Constructor & Destructor Documentation

SmallObjAllocator::SmallObjAllocator std::size_t  chunkSize,
std::size_t  maxObjectSize
 

Definition at line 404 of file SmallObj.cpp.


Member Function Documentation

void * SmallObjAllocator::Allocate std::size_t  numBytes  ) 
 

Definition at line 418 of file SmallObj.cpp.

References base::FixedAllocator::Allocate(), base::FixedAllocator::BlockSize(), and operator new().

void SmallObjAllocator::Deallocate void *  p,
std::size_t  size
 

Definition at line 443 of file SmallObj.cpp.

References base::FixedAllocator::BlockSize(), and base::FixedAllocator::Deallocate().


The documentation for this class was generated from the following files:
Generated on Thu Jul 29 16:39:21 2004 for OpenSim by doxygen 1.3.6