ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
Classes | Public Member Functions | Public Attributes | Private Attributes
dfpool Class Reference

Description not yet available. More...

#include <dfpool.h>

Classes

struct  link

Public Member Functions

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

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

Default constructor.

Definition at line 380 of file dfpool.cpp.

dfpool::dfpool ( const size_t  sz)

Constructor.

Definition at line 400 of file dfpool.cpp.

Destructor.

Definition at line 421 of file dfpool.cpp.


Member Function Documentation

void * dfpool::alloc ( void  )

Description not yet available.

Parameters:

Reimplemented in tsdfpool.

Definition at line 185 of file dfpool.cpp.

Referenced by vector_shape::operator new(), and arr_link::operator new().

void dfpool::clean ( void  )

Description not yet available.

Parameters:

Definition at line 549 of file dfpool.cpp.

void dfpool::deallocate ( void  )

Description not yet available.

Parameters:

Definition at line 441 of file dfpool.cpp.

Referenced by ~dfpool().

void dfpool::free ( void *  b)

Description not yet available.

Parameters:

Reimplemented in tsdfpool.

Definition at line 323 of file dfpool.cpp.

Referenced by vector_shape::operator delete(), and arr_link::operator delete().

void dfpool::grow ( void  )

Description not yet available.

Parameters:

Definition at line 477 of file dfpool.cpp.

Referenced by alloc().

int& dfpool::on_dfpool_vector ( void  ) [inline]

Definition at line 61 of file dfpool.h.

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

Description not yet available.

Parameters:

Definition at line 429 of file dfpool.cpp.


Member Data Documentation

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().

Definition at line 68 of file dfpool.h.

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

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().

Definition at line 64 of file dfpool.h.

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

Definition at line 65 of file dfpool.h.

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

Definition at line 60 of file dfpool.h.

Referenced by dfpool().

size_t dfpool::size

List of all members.


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