MOOSE - Multiscale Object Oriented Simulation Environment
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
FuncOrder.h
Go to the documentation of this file.
1
/**********************************************************************
2
** This program is part of 'MOOSE', the
3
** Messaging Object Oriented Simulation Environment.
4
** Copyright (C) 2003-2013 Upinder S. Bhalla. and NCBS
5
** It is made available under the terms of the
6
** GNU Lesser General Public License version 2.1
7
** See the file COPYING.LIB for the full notice.
8
**********************************************************************/
14
class
FuncOrder
15
{
16
public
:
17
FuncOrder
()
18
:
func_
( 0 ),
index_
( 0 )
19
{;}
20
21
const
OpFunc
*
func
()
const
{
22
return
func_
;
23
}
24
unsigned
int
index
()
const
{
25
return
index_
;
26
}
27
28
void
set
(
const
OpFunc
*
func
,
unsigned
int
index
) {
29
func_
=
func
;
30
index_
=
index
;
31
}
32
33
bool
operator<
(
const
FuncOrder
& other )
const
34
{
35
return
func_
< other.
func_
;
36
}
37
private
:
38
const
OpFunc
*
func_
;
39
unsigned
int
index_
;
40
};
FuncOrder::FuncOrder
FuncOrder()
Definition:
FuncOrder.h:17
FuncOrder::set
void set(const OpFunc *func, unsigned int index)
Definition:
FuncOrder.h:28
FuncOrder::func_
const OpFunc * func_
Definition:
FuncOrder.h:38
FuncOrder::operator<
bool operator<(const FuncOrder &other) const
Definition:
FuncOrder.h:33
FuncOrder::index
unsigned int index() const
Definition:
FuncOrder.h:24
FuncOrder
Definition:
FuncOrder.h:14
FuncOrder::func
const OpFunc * func() const
Definition:
FuncOrder.h:21
OpFunc
Definition:
OpFuncBase.h:44
FuncOrder::index_
unsigned int index_
Definition:
FuncOrder.h:39
moose-core
basecode
FuncOrder.h
Generated on Tue Sep 4 2018 09:05:31 for MOOSE - Multiscale Object Oriented Simulation Environment by
1.8.6