ADMB Documentation  11.1x.2711
 All Classes Files Functions Variables Typedefs Friends Defines
model51.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id: model51.cpp 1919 2014-04-22 22:02:01Z johnoel $
00003  *
00004  * Author: David Fournier
00005  * Copyright (c) 2008-2012 Regents of the University of California
00006  */
00007 #include <admodel.h>
00008 
00009 void init_adstring::allocate(const char * s)
00010 {
00011   check_datafile_pointer(ad_comm::global_datafile);
00012   model_name_tag::allocate(s);
00013   *(ad_comm::global_datafile) >> *this;
00014 }
00015 
00016 void init_line_adstring::allocate(const char * s)
00017 {
00018   check_datafile_pointer(ad_comm::global_datafile);
00019   model_name_tag::allocate(s);
00020   *(ad_comm::global_datafile) >> (const init_line_adstring&)(*this);
00021 }