ADMB Documentation
-a65f1c97
|
For storing void pointers in a array. More...
#include <admodel.h>
Public Member Functions | |
adlist_ptr () | |
Default constructor. More... | |
adlist_ptr (const adlist_ptr &)=delete | |
adlist_ptr (adlist_ptr &&)=delete | |
~adlist_ptr () | |
Destructor. More... | |
void | allocate (unsigned int init_size) |
Construct array with init_size. More... | |
void | initialize () |
Double array size if needed. More... | |
pinitial_params & | operator[] (int i) |
Private Types | |
typedef void * | ptovoid |
Private Member Functions | |
void | add_to_list (void *) |
Store pointer p to array. More... | |
void | resize (void) |
Private Attributes | |
unsigned int | current |
unsigned int | current_size |
std::vector< void * > | list |
ptovoid * | ptr |
Friends | |
class | initial_params |
|
private |
|
delete |
|
delete |
|
private |
Store pointer p to array.
Definition at line 1366 of file model.cpp.
Referenced by initial_params::add_to_list().
void adlist_ptr::allocate | ( | unsigned int | init_size | ) |
Construct array with init_size.
Definition at line 1318 of file model.cpp.
Referenced by function_minimizer::function_minimizer().
void adlist_ptr::initialize | ( | void | ) |
pinitial_params & adlist_ptr::operator[] | ( | int | i | ) |
|
private |
|
friend |
|
private |
Definition at line 748 of file admodel.h.
Referenced by add_to_list(), adlist_ptr(), allocate(), initialize(), and operator[]().
|
private |
Definition at line 749 of file admodel.h.
Referenced by add_to_list(), adlist_ptr(), allocate(), initialize(), and operator[]().
|
private |
Definition at line 753 of file admodel.h.
Referenced by add_to_list(), initialize(), operator[](), and ~adlist_ptr().
|
private |
Definition at line 751 of file admodel.h.
Referenced by add_to_list(), adlist_ptr(), allocate(), initialize(), operator[](), and ~adlist_ptr().
Generated on Wed Sep 7 2022 00:01:32 for ADMB Documentation by 1.8.5 |