ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
model29.cpp
Go to the documentation of this file.
1 /*
2  * $Id$
3  *
4  * Author: David Fournier
5  * Copyright (c) 2008-2012 Regents of the University of California
6  */
7 #include <admodel.h>
8 
9 void named_i3_array::allocate(int hsl,int hsu,int rmin,int rmax,
10  int cmin,int cmax,const char * s)
11 {
12  i3_array::allocate(hsl,hsu,rmin,rmax,cmin,cmax);
14 }
15 
16 void named_i3_array::allocate(int hsl,int hsu, const index_type& rmin,
17  const index_type& rmax, const index_type& cmin, const index_type& cmax,
18  const char * s)
19 {
20  i3_array::allocate(hsl,hsu,rmin,rmax,cmin,cmax);
22 }
23 
24 
26 {
28  return *this;
29 }
30 
31 void data_3iarray::allocate(int hsl,int hsu,int rmin,int rmax,
32  int cmin,int cmax,const char * s)
33 {
35  named_i3_array::allocate(hsl,hsu,rmin,rmax,cmin,cmax,s);
37 }
38 
39 void data_3iarray::allocate(int hsl, int hsu, const index_type& rmin,
40  const index_type& rmax, const index_type& cmin,
41  const index_type& cmax, const char *s)
42 {
44  named_i3_array::allocate(hsl,hsu,rmin,rmax,cmin,cmax,s);
46 }
i3_array & operator=(const i3_array &other)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Definition: i3arr8.cpp:13
Uses polymorphism to get index information from various data types to be used in constructing and all...
Definition: fvar.hpp:7731
Description not yet available.
Definition: admodel.h:555
named_i3_array & operator=(const i3_array &m)
Definition: model29.cpp:25
i3_array(void)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Definition: i3arr.cpp:8
void allocate(const char *s)
Definition: model.cpp:112
void allocate(void)
Does NOT allocate, but set empty i3_array.
Definition: i3arr.cpp:237
void check_datafile_pointer(void *p)
Exits if p is null.
Definition: model.cpp:560
Description not yet available.
static cifstream * global_datafile
Definition: fvar.hpp:8856
Description not yet available.
Definition: fvar.hpp:3944