84 void add_int(
int n,
int position = 0) ;
95 const int&
get_int(
int position = 0)
const;
124 const double&
get_double(
int position = 0)
const;
Param(const Param &)
Copy constructor (private and not implemented to make Param a non-copyable class)
int n_double
Number of double 's (double precis.
Param()
Default constructor is the only constructor.
void operator=(const Param &)
Assignment operator (private and not implemented to make Param a non-copyable class)
int get_n_double() const
Returns the number of stored double 's addresses.
int * p_int
Array (size n_int ) of the int 's addresses.
int n_int
Number of int 's (integers).
double * p_double
Array (size n_double ) of the double 's addresses.
void add_double(double x, int position=0)
Adds the the address of a new double to the list.
void add_int(int n, int position=0)
Adds the address of a new int to the list.
int get_n_int_mod() const
Returns the number of modifiable int 's addresses in the list.
const double & get_double(int position=0) const
Returns the reference of a double stored in the list.
const int & get_int(int position=0) const
Returns the reference of a int stored in the list.
int get_n_int() const
Returns the number of stored int 's addresses.