ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Public Attributes | Private Attributes | List of all members
dfpool Class Reference

Description not yet available. More...

#include <dfpool.h>

Classes

struct  link
 

Public Member Functions

 dfpool ()
 Default constructor. More...
 
 dfpool (const dfpool &)=delete
 
 dfpool (const size_t)
 Constructor. More...
 
virtual ~dfpool ()
 Destructor. More...
 
void * alloc (void)
 Description not yet available. More...
 
void clean (void)
 Description not yet available. More...
 
void deallocate (void)
 Description not yet available. More...
 
void free (void *b)
 Description not yet available. More...
 
void grow (void)
 Description not yet available. More...
 
int & on_dfpool_vector (void)
 
dfpooloperator= (const dfpool &)=delete
 
void set_size (const size_t)
 Description not yet available. More...
 

Public Attributes

double * first
 
linkhead
 
char * last_chunk
 
size_t nelem
 
int num_allocated
 
int num_chunks
 
int nvar
 
size_t size
 

Private Attributes

int dfpool_vector_flag
 

Detailed Description

Description not yet available.

Parameters

Definition at line 56 of file dfpool.h.

Constructor & Destructor Documentation

dfpool::dfpool ( )

Default constructor.

Definition at line 430 of file dfpool.cpp.

dfpool::dfpool ( const dfpool )
delete
dfpool::dfpool ( const size_t  sz)

Constructor.

Definition at line 450 of file dfpool.cpp.

dfpool::~dfpool ( )
virtual

Destructor.

Definition at line 471 of file dfpool.cpp.

Member Function Documentation

void * dfpool::alloc ( void  )

Description not yet available.

Parameters

Definition at line 235 of file dfpool.cpp.

void dfpool::clean ( void  )

Description not yet available.

Parameters

Definition at line 608 of file dfpool.cpp.

void dfpool::deallocate ( void  )

Description not yet available.

Parameters

Definition at line 491 of file dfpool.cpp.

Referenced by ~dfpool().

void dfpool::free ( void *  b)

Description not yet available.

Parameters

Definition at line 373 of file dfpool.cpp.

void dfpool::grow ( void  )

Description not yet available.

Parameters

Definition at line 536 of file dfpool.cpp.

Referenced by alloc().

int& dfpool::on_dfpool_vector ( void  )
inline

Definition at line 61 of file dfpool.h.

dfpool& dfpool::operator= ( const dfpool )
delete
void dfpool::set_size ( const size_t  sz)

Description not yet available.

Parameters

Definition at line 479 of file dfpool.cpp.

Member Data Documentation

int dfpool::dfpool_vector_flag
private

Definition at line 58 of file dfpool.h.

Referenced by dfpool(), and on_dfpool_vector().

double* dfpool::first

Definition at line 69 of file dfpool.h.

Referenced by clean(), deallocate(), dfpool(), and grow().

link* dfpool::head

Definition at line 68 of file dfpool.h.

Referenced by alloc(), deallocate(), dfpool(), free(), and grow().

char* dfpool::last_chunk

Definition at line 62 of file dfpool.h.

Referenced by deallocate(), dfpool(), and grow().

size_t dfpool::nelem

Definition at line 66 of file dfpool.h.

Referenced by clean(), dfpool(), and grow().

int dfpool::num_allocated

Definition at line 64 of file dfpool.h.

Referenced by alloc(), deallocate(), dfpool(), and free().

int dfpool::num_chunks

Definition at line 65 of file dfpool.h.

Referenced by deallocate(), dfpool(), and grow().

int dfpool::nvar

Definition at line 60 of file dfpool.h.

Referenced by dfpool().

size_t dfpool::size

Definition at line 67 of file dfpool.h.

Referenced by clean(), deallocate(), dfpool(), grow(), and set_size().


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