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

Description not yet available. More...

#include <adpool.h>

Classes

struct  link

Public Member Functions

 adpool ()
 Default constructor.
 adpool (const size_t)
 Description not yet available.
 adpool (adpool &)
 ~adpool ()
 Description not yet available.
void * alloc (void)
 Allocate memory for link*.
void clean (void)
 Description not yet available.
void deallocate (void)
 Description not yet available.
int depth_check (void)
 Description not yet available.
void free (void *b)
 Description not yet available.
void grow (void)
int & on_adpool_vector (void)
void operator= (adpool &)
void set_size (const size_t)
 Set size of adpool.

Public Attributes

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

Private Attributes

int adpool_vector_flag

Static Private Attributes

static int num_adpools = 0

Detailed Description

Description not yet available.

Definition at line 55 of file adpool.h.


Constructor & Destructor Documentation

Default constructor.

Definition at line 294 of file adpool.cpp.

adpool::adpool ( const size_t  sz)

Description not yet available.

Parameters:

Definition at line 274 of file adpool.cpp.

adpool::~adpool ( void  )

Description not yet available.

Parameters:

Definition at line 264 of file adpool.cpp.


Member Function Documentation

void * adpool::alloc ( void  )

Allocate memory for link*.

Definition at line 120 of file adpool.cpp.

Referenced by df1b2variable::allocate(), and df1b2variable::df1b2variable().

void adpool::clean ( void  )

Description not yet available.

Parameters:

Definition at line 453 of file adpool.cpp.

void adpool::deallocate ( void  )
int adpool::depth_check ( void  )

Description not yet available.

Parameters:

Definition at line 25 of file adpool.cpp.

Referenced by check_pool_depths().

void adpool::free ( void *  b)

Description not yet available.

Parameters:

Definition at line 221 of file adpool.cpp.

void adpool::grow ( void  )

Definition at line 371 of file adpool.cpp.

Referenced by alloc().

int& adpool::on_adpool_vector ( void  ) [inline]

Definition at line 66 of file adpool.h.

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

Set size of adpool.

/param sz is a non-negative integer

Definition at line 322 of file adpool.cpp.

Referenced by df1b2variable::set_blocksize().


Member Data Documentation

Definition at line 58 of file adpool.h.

Referenced by adpool(), and on_adpool_vector().

double* adpool::first

Definition at line 74 of file adpool.h.

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

Definition at line 73 of file adpool.h.

Referenced by adpool(), alloc(), deallocate(), depth_check(), free(), and grow().

Definition at line 67 of file adpool.h.

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

size_t adpool::nelem

Definition at line 71 of file adpool.h.

Referenced by clean(), and grow().

int adpool::num_adpools = 0 [static, private]

Definition at line 57 of file adpool.h.

Referenced by adpool(), and ~adpool().

Definition at line 69 of file adpool.h.

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

Definition at line 70 of file adpool.h.

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

unsigned int adpool::nvar
size_t adpool::size

Definition at line 72 of file adpool.h.

Referenced by adpool(), alloc(), clean(), deallocate(), free(), grow(), and set_size().

List of all members.


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