MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FuncOrder Class Reference

#include <FuncOrder.h>

+ Collaboration diagram for FuncOrder:

Public Member Functions

const OpFuncfunc () const
 
 FuncOrder ()
 
unsigned int index () const
 
bool operator< (const FuncOrder &other) const
 
void set (const OpFunc *func, unsigned int index)
 

Private Attributes

const OpFuncfunc_
 
unsigned int index_
 

Detailed Description

Utility function for sorting by function pointer. Used in Element::msgDigest

Definition at line 14 of file FuncOrder.h.

Constructor & Destructor Documentation

FuncOrder::FuncOrder ( )
inline

Definition at line 17 of file FuncOrder.h.

18  : func_( 0 ), index_( 0 )
19  {;}
const OpFunc * func_
Definition: FuncOrder.h:38
unsigned int index_
Definition: FuncOrder.h:39

Member Function Documentation

const OpFunc* FuncOrder::func ( ) const
inline

Definition at line 21 of file FuncOrder.h.

References func_.

Referenced by Element::putTargetsInDigest(), and set().

21  {
22  return func_;
23  }
const OpFunc * func_
Definition: FuncOrder.h:38

+ Here is the caller graph for this function:

unsigned int FuncOrder::index ( ) const
inline

Definition at line 24 of file FuncOrder.h.

References index_.

Referenced by set().

24  {
25  return index_;
26  }
unsigned int index_
Definition: FuncOrder.h:39

+ Here is the caller graph for this function:

bool FuncOrder::operator< ( const FuncOrder other) const
inline

Definition at line 33 of file FuncOrder.h.

References func_.

34  {
35  return func_ < other.func_;
36  }
const OpFunc * func_
Definition: FuncOrder.h:38
void FuncOrder::set ( const OpFunc func,
unsigned int  index 
)
inline

Definition at line 28 of file FuncOrder.h.

References func(), func_, index(), and index_.

28  {
29  func_ = func;
30  index_ = index;
31  }
const OpFunc * func_
Definition: FuncOrder.h:38
unsigned int index() const
Definition: FuncOrder.h:24
const OpFunc * func() const
Definition: FuncOrder.h:21
unsigned int index_
Definition: FuncOrder.h:39

+ Here is the call graph for this function:

Member Data Documentation

const OpFunc* FuncOrder::func_
private

Definition at line 38 of file FuncOrder.h.

Referenced by func(), operator<(), and set().

unsigned int FuncOrder::index_
private

Definition at line 39 of file FuncOrder.h.

Referenced by index(), and set().


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