Frobby  0.9.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Ideal::ExponentAllocator Class Reference

#include <Ideal.h>

Public Member Functions

 ExponentAllocator (size_t varCount)
 
 ~ExponentAllocator ()
 
Exponentallocate ()
 
void reset (size_t newVarCount)
 
void swap (ExponentAllocator &allocator)
 

Private Member Functions

 ExponentAllocator (const ExponentAllocator &)
 
ExponentAllocatoroperator= (const ExponentAllocator &)
 
bool useSingleChunking () const
 

Private Attributes

size_t _varCount
 
Exponent_chunk
 
Exponent_chunkIterator
 
Exponent_chunkEnd
 
vector< Exponent * > _chunks
 

Detailed Description

Definition at line 290 of file Ideal.h.

Constructor & Destructor Documentation

Ideal::ExponentAllocator::ExponentAllocator ( size_t  varCount)

Definition at line 738 of file Ideal.cpp.

Ideal::ExponentAllocator::~ExponentAllocator ( )

Definition at line 746 of file Ideal.cpp.

Ideal::ExponentAllocator::ExponentAllocator ( const ExponentAllocator )
private

Member Function Documentation

Exponent * Ideal::ExponentAllocator::allocate ( )

Definition at line 750 of file Ideal.cpp.

ExponentAllocator& Ideal::ExponentAllocator::operator= ( const ExponentAllocator )
private
void Ideal::ExponentAllocator::reset ( size_t  newVarCount)

Definition at line 781 of file Ideal.cpp.

void Ideal::ExponentAllocator::swap ( ExponentAllocator allocator)

Definition at line 798 of file Ideal.cpp.

bool Ideal::ExponentAllocator::useSingleChunking ( ) const
private

Definition at line 806 of file Ideal.cpp.

Member Data Documentation

Exponent* Ideal::ExponentAllocator::_chunk
private

Definition at line 308 of file Ideal.h.

Exponent* Ideal::ExponentAllocator::_chunkEnd
private

Definition at line 310 of file Ideal.h.

Exponent* Ideal::ExponentAllocator::_chunkIterator
private

Definition at line 309 of file Ideal.h.

vector<Exponent*> Ideal::ExponentAllocator::_chunks
private

Definition at line 312 of file Ideal.h.

size_t Ideal::ExponentAllocator::_varCount
private

Definition at line 306 of file Ideal.h.


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