30 cerr <<
"Wrong number of options to -mdl -- must be 1"
31 " you have " << nopt <<
endl;
132 for (
unsigned int i = 0; i <
nlinks; ++i)
145 for (
unsigned int i = 0; i <
nlinks; ++i)
147 *dest = (*src)->di.x;
159 for (
unsigned int i = 0; i <
nlinks; ++i)
161 (*dest)->di.x = *src;
188 unsigned int count=0;
189 while(tmp_last && count <=
nlinks)
194 cerr <<
"In check_list() number of links > number created\n";
195 cerr <<
" The number created was "<<
nlinks <<
endl;
206 cerr <<
"In check_list() number of free links is " << count <<
endl;
void check_list(void)
Check link list integrity.
size_t total_addresses() const
Get total addresses stored.
void save_variables()
Save variables to a buffer.
dlink * append(dlink *link)
Append link to list.
dlink * last_remove()
If list is not empty, pop and return last node.
dlist()
Default constructor.
int atoi(adstring &s)
Returns a integer converted from input s.
prnstream & endl(prnstream &)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
void restore_variables()
Restore variables from buffer.
int option_match(int argc, char *argv[], const char *string)
Checks if the program has been invoked with a particular command line argument ("string").
dlink * create()
Return new unlinked node.
static unsigned int MAX_DLINKS
double x
< value of the variable