00001 /* 00002 * $Id$ 00003 * 00004 * Author: David Fournier 00005 * Copyright (c) 2008-2012 Regents of the University of California 00006 */ 00007 #include <sstream> 00008 using std::istringstream; 00009 00010 #include <fvar.hpp> 00011 00012 int atoi(adstring& s) 00013 { 00014 istringstream is((char*)s); 00015 int i = 0; 00016 is >> i; 00017 return i; 00018 }
Generated on Tue Mar 8 2016 19:51:30 for ADMB Documentation by 1.8.0 |