creaImageIO::tree::NodeStudyDateComparator Struct Reference

Compares the dates of the studies. More...

#include <creaImageIOTreeComparators.h>

Inheritance diagram for creaImageIO::tree::NodeStudyDateComparator:

Inheritance graph
[legend]
Collaboration diagram for creaImageIO::tree::NodeStudyDateComparator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 NodeStudyDateComparator (bool o=false)
virtual bool compare (Node *const &x, Node *const &y)
virtual bool operator() (Node *const &x, Node *const &y)

Public Attributes

bool mReverseOrder


Detailed Description

Compares the dates of the studies.

Definition at line 195 of file creaImageIOTreeComparators.h.


Constructor & Destructor Documentation

creaImageIO::tree::NodeStudyDateComparator::NodeStudyDateComparator ( bool  o = false  )  [inline]

Definition at line 195 of file creaImageIOTreeComparators.h.


Member Function Documentation

virtual bool creaImageIO::tree::StringComparator::compare ( Node *const &  x,
Node *const &  y 
) [virtual, inherited]

Implements creaImageIO::tree::ComparatorWithOrder.

virtual bool creaImageIO::tree::ComparatorWithOrder::operator() ( Node *const &  x,
Node *const &  y 
) [inline, virtual, inherited]

Implements creaImageIO::tree::Comparator.

Definition at line 42 of file creaImageIOTreeComparators.h.

References creaImageIO::tree::ComparatorWithOrder::compare(), and creaImageIO::tree::ComparatorWithOrder::mReverseOrder.

00043     {
00044       if (mReverseOrder) return this->compare(y,x);
00045       return this->compare(x,y);
00046     };

Here is the call graph for this function:


Member Data Documentation

bool creaImageIO::tree::ComparatorWithOrder::mReverseOrder [inherited]

Definition at line 46 of file creaImageIOTreeComparators.h.

Referenced by creaImageIO::tree::ComparatorWithOrder::operator()().


The documentation for this struct was generated from the following file:
Generated on Mon Jun 22 10:50:12 2009 for CreaImageIO by  doxygen 1.5.3