xpdf::RefComparator Class Reference

#include <xpdf.h>

List of all members.

Public Member Functions

bool operator() (const Ref &v1, const Ref &v2) const

Detailed Description

Reference comparator class.

Implements functional operator to compare two referencies defined as Ref structures.
This can be used as comparator predicate in ObjectStorage where value is Object type.


Member Function Documentation

bool xpdf::RefComparator::operator() ( const Ref &  v1,
const Ref &  v2 
) const [inline]

Comparator operator.

Parameters:
v1 First value.
v2 Second value.
Returns:
true iff v1.num and v1.gen are less than v2.num and v2.gen.

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