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

#include <SynEvent.h>

+ Collaboration diagram for CompareSynEvent:

Public Member Functions

bool operator() (const SynEvent &lhs, const SynEvent &rhs) const
 

Detailed Description

Definition at line 28 of file SynEvent.h.

Member Function Documentation

bool CompareSynEvent::operator() ( const SynEvent lhs,
const SynEvent rhs 
) const
inline

Definition at line 30 of file SynEvent.h.

References SynEvent::time.

31  {
32  // Note that this is backwards. We want the smallest timestamp
33  // on the top of the events priority_queue.
34  return lhs.time > rhs.time;
35  }
double time
Definition: SynEvent.h:24

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