CXXR (C++ R) API
Public Member Functions
CXXR::Provenance::CompTime Class Reference

For sorting Provenance objects by timestamp. More...

#include <Provenance.hpp>

List of all members.

Public Member Functions

bool operator() (const Provenance *lhs, const Provenance *rhs) const
 Comparison operator.

Detailed Description

For sorting Provenance objects by timestamp.

This is a function object class for comparing two Provenance objects according to their timestamps.


Member Function Documentation

bool CXXR::Provenance::CompTime::operator() ( const Provenance lhs,
const Provenance rhs 
) const
inline

Comparison operator.

Parameters:
lhsNon-null pointer to Provenance object.
rhsNon-null pointer to Provenance object.
Returns:
true iff the timestamp of lhs is earlier than the timestamp of rhs.

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