ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
Public Member Functions | Private Attributes | Friends
adstring_array Class Reference

#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_arrayappend_distinct (const adstring &s)
int indexmax (void) const
int indexmin (void) const
const adstringoperator() (int i) const
 Returns a reference to the element at specified index i.
adstringoperator() (int i)
 Returns a reference to the element at specified index i.
adstring_arrayoperator+= (const adstring &s)
adstring_arrayoperator= (const adstring_array &)
const adstringoperator[] (int i) const
 Returns a reference to the element at specified index i.
adstringoperator[] (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_shapeshape

Friends

std::ostream & operator<< (const std::ostream &ifs, const adstring_array &sa)
std::ifstream & operator>> (std::ifstream &ifs, adstring_array &sa)
cifstreamoperator>> (cifstream &ifs, adstring_array &sa)

Detailed Description

Definition at line 195 of file adstring.hpp.


Constructor & Destructor Documentation

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.

Default constructor.

Definition at line 17 of file string5.cpp.


Member Function Documentation

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().

Definition at line 15 of file string5a.cpp.

Referenced by operator+=().

int adstring_array::indexmax ( void  ) const
int adstring_array::indexmin ( void  ) const
const adstring & adstring_array::operator() ( int  i) const

Returns a reference to the element at specified index i.

Bounds checking is performed.

Parameters:
iindex

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.

Parameters:
iindex

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.

Parameters:
iindex

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.

Parameters:
iindex

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().


Friends And Related Function Documentation

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.


Member Data Documentation

List of all members.


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