00001 /* 00002 * $Id$ 00003 * 00004 * Author: David Fournier 00005 * Copyright (c) 2008-2012 Regents of the University of California 00006 */ 00007 #include <admodel.h> 00008 00009 void named_adstring::allocate(const char * s1,const char * _s) 00010 { 00011 model_name_tag::allocate(_s); 00012 (*this)=s1; 00013 } 00014 00015 void named_adstring::operator = (const char * _s) 00016 { 00017 adstring::operator = (_s); 00018 } 00019 00020 void named_adstring::operator = (const adstring& _s) 00021 { 00022 adstring::operator = (_s); 00023 } 00024 00025 void dll_named_adstring::operator = (const char * _s) 00026 { 00027 adstring::operator = (_s); 00028 } 00029 00030 void dll_named_adstring::operator = (const adstring& _s) 00031 { 00032 adstring::operator = (_s); 00033 } 00034 00035 void dll_named_adstring::allocate(char ** ps1,const char * _s) 00036 { 00037 named_adstring::allocate(*ps1,_s); 00038 } 00039 00040 dll_named_adstring::~dll_named_adstring() 00041 { 00042 strcpy(*d,(char*)(*this)); 00043 }
Generated on Tue Mar 8 2016 19:51:35 for ADMB Documentation by 1.8.0 |