ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
init_adstring Class Reference

Description not yet available. More...

#include <admodel.h>

Public Member Functions

void allocate (const char *s="UNNAMED")
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
- Public Member Functions inherited from adstring
 adstring ()
 Default constructor. More...
 
 adstring (const adstring &v)
 
 adstring (const char v)
 
 adstring (const char *t)
 
 adstring (const unsigned char v)
 
 adstring (const unsigned char *t)
 
 adstring (const size_t lb, const size_t ub)
 
 adstring (const int size)
 
 ~adstring ()
 Destructor. More...
 
void allocate (const char *t)
 
size_t buff_size () const
 
 operator char * ()
 
 operator const char * () const
 
 operator const unsigned char * () const
 
 operator unsigned char * ()
 
bool operator!= (const adstring &u) const
 
bool operator!= (const char *u) const
 
unsigned char & operator() (const size_t i)
 Returns reference to element at specified index i. More...
 
const unsigned char & operator() (const size_t i) const
 Returns reference to element at specified index i. More...
 
adstring operator() (const size_t i, const size_t j)
 
adstring operator() (const size_t i, const size_t j) const
 
adstringoperator+= (const adstring &u)
 Return true if adstring is equal to other, otherwise false. More...
 
adstringoperator+= (const char u)
 
adstringoperator= (const adstring &t)
 
adstringoperator= (const char t)
 
bool operator== (const adstring &other) const
 Return true if adstring is equal to other, otherwise false. More...
 
bool operator== (const char *u) const
 
unsigned char & operator[] (const size_t i)
 Returns reference to element at specified index i. More...
 
unsigned char & operator[] (const size_t i) const
 Returns reference to element at specified index i. More...
 
size_t pos (const adstring &substr) const
 
void realloc (const char *t)
 
size_t size () const
 
void to_lower (void)
 
adstring to_lower (adstring &s)
 
void to_upper (void)
 
adstring to_upper (adstring &s)
 
- Public Member Functions inherited from clist
 ~clist ()
 Destructor. More...
 
int length (const int &max=1000) const
 
- Public Member Functions inherited from model_name_tag
 model_name_tag (void)
 
void allocate (const char *s)
 
const char * get_name (void)
 
label_class label (void)
 

Additional Inherited Members

- Protected Member Functions inherited from named_adstring
void allocate (const char *s1, const char *s="UNNAMED")
 
void operator= (const adstring &)
 
void operator= (const char *)
 
- Protected Member Functions inherited from clist
 clist ()
 
 clist (const clist &pt)
 Copy constructor. More...
 
clistprev () const
 
- Protected Attributes inherited from clist
clistnext
 
- Protected Attributes inherited from model_name_tag
adstring name
 

Detailed Description

Description not yet available.

Parameters

Definition at line 1535 of file admodel.h.

Member Function Documentation

void init_adstring::allocate ( const char *  name_tag = "UNNAMED")

Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.

Allocate init_adstring with id name_tag, then assign input string from opened ad_comm::global_datafile.

Parameters
name_tagid

Definition at line 13 of file model51.cpp.


The documentation for this class was generated from the following files: