ADMB Documentation
-a65f1c97
|
#include <adstring.hpp>
Public Member Functions | |
adstring_array (const adstring_array &sa) | |
Copy constructor. More... | |
adstring_array (int min, int max) | |
adstring_array (void) | |
Default constructor. More... | |
~adstring_array () | |
Destructor. More... | |
void | allocate (int min, int max) |
Allocate vector of adstring with range [min, max]. More... | |
void | allocate () |
adstring_array & | append_distinct (const adstring &s) |
int | indexmax (void) const |
int | indexmin (void) const |
const adstring & | operator() (int i) const |
Returns a reference to the element at specified index i. More... | |
adstring & | operator() (int i) |
Returns a reference to the element at specified index i. More... | |
adstring_array & | operator+= (const adstring &s) |
adstring_array & | operator= (const adstring_array &) |
Assigment operator for adstring_array. More... | |
const adstring & | operator[] (int i) const |
Returns a reference to the element at specified index i. More... | |
adstring & | operator[] (int i) |
Returns a reference to the element at specified index i. More... | |
int | size () const |
void | to_lower (void) |
adstring_array | to_lower (adstring_array &s) |
void | to_upper (void) |
adstring_array | to_upper (adstring_array &s) |
Public Member Functions inherited from clist | |
~clist () | |
Destructor. More... | |
int | length (const int &max=1000) const |
Private Attributes | |
adstring ** | ptr |
vector_shape * | shape |
Friends | |
std::ostream & | operator<< (const std::ostream &ifs, const adstring_array &sa) |
std::ifstream & | operator>> (std::ifstream &ifs, adstring_array &sa) |
cifstream & | operator>> (cifstream &ifs, adstring_array &sa) |
Extract adstring_array from ifstream. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from clist | |
clist () | |
clist (const clist &pt) | |
Copy constructor. More... | |
clist * | prev () const |
Protected Attributes inherited from clist | |
clist * | next |
Definition at line 198 of file adstring.hpp.
adstring_array::adstring_array | ( | const adstring_array & | sa | ) |
Copy constructor.
Definition at line 26 of file string5.cpp.
adstring_array::~adstring_array | ( | ) |
Destructor.
Definition at line 38 of file string5.cpp.
adstring_array::adstring_array | ( | int | min, |
int | max | ||
) |
Definition at line 31 of file string5.cpp.
adstring_array::adstring_array | ( | void | ) |
Default constructor.
Definition at line 18 of file string5.cpp.
void adstring_array::allocate | ( | int | min, |
int | max | ||
) |
Allocate vector of adstring with range [min, max].
min | lower index |
max | upper index |
Definition at line 80 of file string5.cpp.
Referenced by get_param_names(), and function_minimizer::sd_routine().
|
inline |
Definition at line 210 of file adstring.hpp.
Referenced by adstring_array(), named_adstring_array::allocate(), data_adstring_array::allocate(), and operator=().
adstring_array & adstring_array::append_distinct | ( | const adstring & | s | ) |
Definition at line 16 of file string5a.cpp.
Referenced by operator+=().
int adstring_array::indexmax | ( | void | ) | const |
Definition at line 71 of file string5.cpp.
Referenced by data_adstring_array::allocate(), operator()(), operator<<(), operator=(), operator>>(), operator[](), to_lower(), to_upper(), and ~adstring_array().
int adstring_array::indexmin | ( | void | ) | const |
Definition at line 68 of file string5.cpp.
Referenced by allocate(), data_adstring_array::allocate(), operator()(), operator<<(), operator=(), operator>>(), operator[](), to_lower(), to_upper(), and ~adstring_array().
const adstring & adstring_array::operator() | ( | int | i | ) | const |
Returns a reference to the element at specified index i.
Bounds checking is performed.
i | index |
Definition at line 167 of file string5.cpp.
adstring & adstring_array::operator() | ( | int | i | ) |
Returns a reference to the element at specified index i.
Bounds checking is performed.
i | index |
Definition at line 129 of file string5.cpp.
adstring_array & adstring_array::operator+= | ( | const adstring & | s | ) |
Definition at line 11 of file string5a.cpp.
adstring_array & adstring_array::operator= | ( | const adstring_array & | a | ) |
Assigment operator for adstring_array.
a | adstring_array to copy |
Definition at line 17 of file adstring_array.cpp.
const adstring & adstring_array::operator[] | ( | int | i | ) | const |
Returns a reference to the element at specified index i.
Bounds checking is performed.
i | index |
Definition at line 148 of file string5.cpp.
adstring & adstring_array::operator[] | ( | int | i | ) |
Returns a reference to the element at specified index i.
Bounds checking is performed.
i | index |
Definition at line 110 of file string5.cpp.
int adstring_array::size | ( | void | ) | const |
Definition at line 65 of file string5.cpp.
Referenced by allocate(), data_adstring_array::allocate(), append_distinct(), and function_minimizer::sd_routine().
void adstring_array::to_lower | ( | void | ) |
Definition at line 10 of file strcase2.cpp.
Referenced by to_lower().
adstring_array adstring_array::to_lower | ( | adstring_array & | s | ) |
void adstring_array::to_upper | ( | void | ) |
Definition at line 21 of file strcase2.cpp.
Referenced by to_upper().
adstring_array adstring_array::to_upper | ( | adstring_array & | s | ) |
|
friend |
|
friend |
|
friend |
Extract adstring_array from ifstream.
Definition at line 48 of file str_aio.cpp.
|
private |
Definition at line 201 of file adstring.hpp.
Referenced by adstring_array(), allocate(), append_distinct(), operator()(), operator<<(), operator>>(), operator[](), to_lower(), to_upper(), and ~adstring_array().
|
private |
Definition at line 200 of file adstring.hpp.
Referenced by adstring_array(), allocate(), append_distinct(), indexmax(), indexmin(), operator()(), operator[](), size(), and ~adstring_array().
Generated on Wed Sep 7 2022 00:01:32 for ADMB Documentation by 1.8.5 |