#include <adstring.hpp>
Public Member Functions | |
adstring () | |
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. | |
void | allocate (const char *t) |
size_t | buff_size () const |
operator char * () | |
operator const char * () const | |
operator const unsigned char * () const | |
operator unsigned char * () | |
int | operator!= (const adstring &u) |
unsigned char & | operator() (const size_t i) |
const unsigned char & | operator() (const size_t i) const |
adstring | operator() (const size_t i, const size_t j) |
adstring | operator() (const size_t i, const size_t j) const |
adstring & | operator+= (const adstring &u) |
adstring & | operator+= (const char u) |
adstring & | operator= (const adstring &t) |
adstring & | operator= (const char t) |
int | operator== (const adstring &u) |
int | operator== (const char *u) |
int | operator== (const char *u) const |
int | operator== (const adstring &u) const |
unsigned char & | operator[] (const size_t i) |
const unsigned char & | operator[] (const size_t i) const |
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) |
Private Member Functions | |
void | allocate (const size_t sz) |
void | deallocate (void) |
Private Attributes | |
unsigned char * | s |
adstring_shape * | shape |
Friends | |
class | adstring_array |
adstring | operator+ (const adstring &u, const adstring &v) |
adstring | operator+ (const adstring &u, const unsigned char v) |
adstring | operator+ (const adstring &u, const char v) |
adstring | operator+ (const adstring &u, const unsigned char *v) |
adstring | operator+ (const adstring &u, const char *v) |
adstring | operator+ (const unsigned char *v, const adstring &u) |
adstring | operator+ (const char *v, const adstring &u) |
adstring | operator+ (const unsigned char u, const adstring &v) |
std::ostream & | operator<< (std::ostream &c, const adstring &t) |
std::istream & | operator>> (std::istream &c, adstring &t) |
adstring | str (double x, int minwidth, int decplaces) |
Convert x to adstring with minimum width and total number of decimal places. | |
adstring | str (const int x) |
void | val (const adstring &s, int &v, int &code) |
int | val (const adstring &s) |
Definition at line 70 of file adstring.hpp.
adstring::adstring | ( | void | ) |
Definition at line 33 of file string3.cpp.
Referenced by operator+=(), operator=(), and operator==().
adstring::adstring | ( | const adstring & | v | ) |
Definition at line 66 of file string2.cpp.
adstring::adstring | ( | const char | v | ) |
Definition at line 48 of file string2.cpp.
adstring::adstring | ( | const char * | t | ) |
Definition at line 11 of file string3.cpp.
adstring::adstring | ( | const unsigned char | v | ) |
Definition at line 57 of file string2.cpp.
adstring::adstring | ( | const unsigned char * | t | ) |
Definition at line 22 of file string3.cpp.
adstring::adstring | ( | const size_t | lb, |
const size_t | ub | ||
) |
Definition at line 15 of file string2.cpp.
adstring::adstring | ( | const int | size | ) |
Definition at line 31 of file string2.cpp.
Destructor.
Definition at line 100 of file string1.cpp.
void adstring::allocate | ( | const size_t | sz | ) | [private] |
Definition at line 11 of file string.cpp.
Referenced by adstring().
void adstring::allocate | ( | const char * | t | ) |
Reimplemented in init_line_adstring, and init_adstring.
size_t adstring::buff_size | ( | ) | const |
Definition at line 62 of file string.cpp.
Referenced by operator+=().
void adstring::deallocate | ( | void | ) | [private] |
Definition at line 22 of file string.cpp.
Referenced by ~adstring().
adstring::operator char * | ( | ) |
Definition at line 42 of file string.cpp.
adstring::operator const char * | ( | ) | const |
Definition at line 52 of file string.cpp.
adstring::operator const unsigned char * | ( | ) | const |
Definition at line 47 of file string.cpp.
adstring::operator unsigned char * | ( | ) |
Definition at line 37 of file string.cpp.
int adstring::operator!= | ( | const adstring & | u | ) | [inline] |
Definition at line 112 of file adstring.hpp.
unsigned char & adstring::operator() | ( | const size_t | i | ) |
Definition at line 108 of file string1.cpp.
const unsigned char & adstring::operator() | ( | const size_t | i | ) | const |
Definition at line 120 of file string1.cpp.
adstring adstring::operator() | ( | const size_t | i, |
const size_t | j | ||
) |
Definition at line 15 of file string1.cpp.
adstring adstring::operator() | ( | const size_t | i, |
const size_t | j | ||
) | const |
Definition at line 31 of file string1.cpp.
Definition at line 162 of file string1.cpp.
adstring& adstring::operator+= | ( | const char | u | ) | [inline] |
Definition at line 104 of file adstring.hpp.
Reimplemented in dll_named_adstring, named_line_adstring, named_adstring, and line_adstring.
Definition at line 47 of file string1.cpp.
adstring & adstring::operator= | ( | const char | t | ) |
Definition at line 80 of file string.cpp.
int adstring::operator== | ( | const adstring & | u | ) |
Definition at line 150 of file string1.cpp.
int adstring::operator== | ( | const char * | u | ) | [inline] |
Definition at line 109 of file adstring.hpp.
int adstring::operator== | ( | const char * | u | ) | const |
int adstring::operator== | ( | const adstring & | u | ) | const |
Definition at line 144 of file string1.cpp.
unsigned char & adstring::operator[] | ( | const size_t | i | ) |
Definition at line 190 of file string1.cpp.
const unsigned char & adstring::operator[] | ( | const size_t | i | ) | const |
Definition at line 132 of file string1.cpp.
size_t adstring::pos | ( | const adstring & | substr | ) | const |
Definition at line 40 of file string3.cpp.
Referenced by pos().
void adstring::realloc | ( | const char * | t | ) |
Definition at line 76 of file string1.cpp.
Referenced by cifstream::operator>>().
size_t adstring::size | ( | void | ) | const |
Definition at line 57 of file string.cpp.
Referenced by ad_comm::ad_comm(), adstring(), ad_comm::allocate(), admb::messages::error(), length(), operator()(), operator+(), operator+=(), operator<<(), operator=(), pos(), to_lower(), to_upper(), and val().
void adstring::to_lower | ( | void | ) |
Definition at line 9 of file strcase.cpp.
Referenced by to_lower().
adstring adstring::to_lower | ( | adstring & | s | ) |
void adstring::to_upper | ( | void | ) |
Definition at line 19 of file strcase.cpp.
Referenced by to_upper().
adstring adstring::to_upper | ( | adstring & | s | ) |
friend class adstring_array [friend] |
Definition at line 80 of file adstring.hpp.
Definition at line 72 of file string2.cpp.
Definition at line 12 of file string6.cpp.
Definition at line 16 of file string6.cpp.
Definition at line 20 of file string6.cpp.
Definition at line 24 of file string6.cpp.
Definition at line 28 of file string6.cpp.
Definition at line 32 of file string6.cpp.
Definition at line 37 of file string6.cpp.
std::ostream& operator<< | ( | std::ostream & | c, |
const adstring & | t | ||
) | [friend] |
std::istream& operator>> | ( | std::istream & | c, |
adstring & | t | ||
) | [friend] |
unsigned char* adstring::s [private] |
Definition at line 76 of file adstring.hpp.
Referenced by adstring(), allocate(), deallocate(), operator char *(), operator const char *(), operator const unsigned char *(), operator unsigned char *(), operator()(), operator+=(), operator<<(), operator=(), operator[](), pos(), realloc(), size(), to_lower(), and to_upper().
adstring_shape* adstring::shape [private] |
Definition at line 72 of file adstring.hpp.
Referenced by adstring(), allocate(), buff_size(), deallocate(), operator=(), operator[](), and realloc().
Generated on Tue Mar 8 2016 19:51:38 for ADMB Documentation by 1.8.0 |