ADMB Documentation
-a65f1c97
Main Page
Function Reference
Classes
Source Code
Related Pages
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
tools99
adstring_array.cpp
Go to the documentation of this file.
1
9
#include "
adstring.hpp
"
10
17
adstring_array
&
adstring_array::operator=
(
const
adstring_array
& a)
18
{
19
if
(
this
!= &a)
20
{
21
const
int
min
= a.
indexmin
();
22
const
int
max
= a.
indexmax
();
23
allocate
(min, max);
24
for
(
int
i = min; i <=
max
; i++)
25
{
26
(*this)[i] = a[i];
27
}
28
}
29
return
*
this
;
30
}
adstring.hpp
adstring_array::indexmin
int indexmin(void) const
Definition:
string5.cpp:68
adstring_array::operator=
adstring_array & operator=(const adstring_array &)
Assigment operator for adstring_array.
Definition:
adstring_array.cpp:17
adstring_array
Definition:
adstring.hpp:198
adstring_array::allocate
void allocate()
Definition:
adstring.hpp:210
min
#define min(a, b)
Definition:
cbivnorm.cpp:188
adstring_array::indexmax
int indexmax(void) const
Definition:
string5.cpp:71
max
#define max(a, b)
Definition:
cbivnorm.cpp:189
Generated on Wed Sep 7 2022 00:01:26 for ADMB Documentation by
1.8.5