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
clist.h
Go to the documentation of this file.
1
/*
2
* $Id$
3
*
4
* Author: David Fournier
5
* Copyright (c) 2008-2012 Regents of the University of California
6
*
7
* ADModelbuilder and associated libraries and documentations are
8
* provided under the general terms of the "BSD" license.
9
*
10
* License:
11
*
12
* Redistribution and use in source and binary forms, with or without
13
* modification, are permitted provided that the following conditions are
14
* met:
15
*
16
* 1. Redistributions of source code must retain the above copyright
17
* notice, this list of conditions and the following disclaimer.
18
*
19
* 2. Redistributions in binary form must reproduce the above copyright
20
* notice, this list of conditions and the following disclaimer in the
21
* documentation and/or other materials provided with the distribution.
22
*
23
* 3. Neither the name of the University of California, Otter Research,
24
* nor the ADMB Foundation nor the names of its contributors may be used
25
* to endorse or promote products derived from this software without
26
* specific prior written permission.
27
*
28
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
29
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
30
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
31
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
32
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
33
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
34
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
36
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
38
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39
*
40
*/
41
#ifndef CLIST_H
42
#define CLIST_H
43
class
clist
44
{
45
public
:
46
int
length
(
const
int
&
max
= 1000)
const
;
47
protected
:
48
clist
*
next
;
49
clist
()
50
{
51
next
=
this
;
52
}
53
clist
(
const
clist
& pt);
54
clist
*
prev
()
const
;
55
public
:
56
~clist
();
57
};
58
#endif
clist::length
int length(const int &max=1000) const
Definition:
clist.cpp:33
clist::prev
clist * prev() const
Definition:
clist.cpp:11
clist::~clist
~clist()
Destructor.
Definition:
clist.cpp:70
clist::clist
clist()
Definition:
clist.h:49
clist
Definition:
clist.h:43
clist::next
clist * next
Definition:
clist.h:48
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