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 }
Generated on Tue Mar 8 2016 19:51:35 for ADMB Documentation by 1.8.0 |