#include <adstring.hpp>
Public Member Functions | |
adstring_array (const adstring_array &sa) | |
Copy constructor. | |
adstring_array (int min, int max) | |
adstring_array (void) | |
Default constructor. | |
~adstring_array () | |
Destructor. | |
void | allocate (int min, int max) |
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. | |
adstring & | operator() (int i) |
Returns a reference to the element at specified index i. | |
adstring_array & | operator+= (const adstring &s) |
adstring_array & | operator= (const adstring_array &) |
const adstring & | operator[] (int i) const |
Returns a reference to the element at specified index i. | |
adstring & | operator[] (int i) |
Returns a reference to the element at specified index i. | |
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) |
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) |
Definition at line 195 of file adstring.hpp.
adstring_array::adstring_array | ( | const adstring_array & | sa | ) |
Copy constructor.
Definition at line 25 of file string5.cpp.
Destructor.
Definition at line 37 of file string5.cpp.
adstring_array::adstring_array | ( | int | min, |
int | max | ||
) |
Definition at line 30 of file string5.cpp.
adstring_array::adstring_array | ( | void | ) |
Default constructor.
Definition at line 17 of file string5.cpp.
void adstring_array::allocate | ( | int | min, |
int | max | ||
) |
Definition at line 73 of file string5.cpp.
Referenced by adstring_array(), operator=(), and function_minimizer::sd_routine().
adstring_array & adstring_array::append_distinct | ( | const adstring & | s | ) |
Definition at line 15 of file string5a.cpp.
Referenced by operator+=().
int adstring_array::indexmax | ( | void | ) | const |
Definition at line 70 of file string5.cpp.
Referenced by operator()(), operator<<(), operator=(), operator>>(), operator[](), to_lower(), to_upper(), and ~adstring_array().
int adstring_array::indexmin | ( | void | ) | const |
Definition at line 67 of file string5.cpp.
Referenced by 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 159 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 121 of file string5.cpp.
adstring_array & adstring_array::operator+= | ( | const adstring & | s | ) |
Definition at line 10 of file string5a.cpp.
adstring_array & adstring_array::operator= | ( | const adstring_array & | a | ) |
Definition at line 9 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 140 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 102 of file string5.cpp.
int adstring_array::size | ( | void | ) | const |
Definition at line 64 of file string5.cpp.
Referenced by function_minimizer::sd_routine().
void adstring_array::to_lower | ( | void | ) |
Definition at line 9 of file strcase2.cpp.
Referenced by to_lower().
void adstring_array::to_upper | ( | void | ) |
Definition at line 20 of file strcase2.cpp.
Referenced by to_upper().
std::ostream& operator<< | ( | const std::ostream & | ifs, |
const adstring_array & | sa | ||
) | [friend] |
std::ifstream& operator>> | ( | std::ifstream & | ifs, |
adstring_array & | sa | ||
) | [friend] |
cifstream& operator>> | ( | cifstream & | ifs, |
adstring_array & | sa | ||
) | [friend] |
Definition at line 39 of file str_aio.cpp.
adstring** adstring_array::ptr [private] |
Definition at line 198 of file adstring.hpp.
Referenced by adstring_array(), allocate(), append_distinct(), operator()(), operator<<(), operator>>(), operator[](), to_lower(), to_upper(), and ~adstring_array().
vector_shape* adstring_array::shape [private] |
Definition at line 197 of file adstring.hpp.
Referenced by adstring_array(), allocate(), append_distinct(), indexmax(), indexmin(), operator()(), operator[](), size(), and ~adstring_array().
Generated on Tue Mar 8 2016 19:51:38 for ADMB Documentation by 1.8.0 |