ADMB Documentation  11.5.3349
 All Classes Files Functions Variables Typedefs Friends Defines
model51.cpp
Go to the documentation of this file.
00001 
00005 #include <admodel.h>
00006 
00011 void init_adstring::allocate(const char* name)
00012 {
00013   check_datafile_pointer(ad_comm::global_datafile);
00014   model_name_tag::allocate(name);
00015   *(ad_comm::global_datafile) >> *this;
00016 }
00021 void init_line_adstring::allocate(const char* name)
00022 {
00023   check_datafile_pointer(ad_comm::global_datafile);
00024   model_name_tag::allocate(name);
00025   *(ad_comm::global_datafile) >> (const init_line_adstring&)(*this);
00026 }