For storing void pointers in a array. More...
#include <admodel.h>
Public Member Functions | |
adlist_ptr (int init_size) | |
Construct array with init_size. | |
~adlist_ptr () | |
Destructor. | |
void | initialize () |
pinitial_params & | operator[] (int i) |
Private Member Functions | |
void | add_to_list (void *p) |
Store pointer p to array. | |
void | resize (void) |
Double array size if needed. | |
Private Attributes | |
int | current |
int | current_size |
ptovoid * | ptr |
Friends | |
class | initial_params |
adlist_ptr::adlist_ptr | ( | int | init_size | ) |
void adlist_ptr::add_to_list | ( | void * | p | ) | [private] |
Store pointer p to array.
Definition at line 1305 of file model.cpp.
Referenced by initial_params::add_to_list().
void adlist_ptr::initialize | ( | void | ) |
pinitial_params & adlist_ptr::operator[] | ( | int | i | ) |
void adlist_ptr::resize | ( | void | ) | [private] |
Double array size if needed.
Definition at line 1286 of file model.cpp.
Referenced by add_to_list().
friend class initial_params [friend] |
int adlist_ptr::current [private] |
Definition at line 765 of file admodel.h.
Referenced by add_to_list(), adlist_ptr(), initialize(), resize(), and ~adlist_ptr().
int adlist_ptr::current_size [private] |
Definition at line 764 of file admodel.h.
Referenced by add_to_list(), adlist_ptr(), initialize(), resize(), and ~adlist_ptr().
ptovoid* adlist_ptr::ptr [private] |
Definition at line 763 of file admodel.h.
Referenced by add_to_list(), adlist_ptr(), initialize(), operator[](), resize(), and ~adlist_ptr().
Generated on Tue Mar 8 2016 19:51:38 for ADMB Documentation by 1.8.0 |