pdfobjects::utils::IndComparator Class Reference

#include <cpdf.h>

List of all members.

Public Member Functions

bool operator() (const pdfobjects::IndiRef one, const pdfobjects::IndiRef two) const

Detailed Description

Indirect referencies comparator.

Handles comparing of Indirect referencies.


Member Function Documentation

bool pdfobjects::utils::IndComparator::operator() ( const pdfobjects::IndiRef  one,
const pdfobjects::IndiRef  two 
) const [inline]

Ordering functional operator.

Parameters:
one Indirect reference.
two Indirect reference.

Strict weak ordering comparision of referencies.
Referencies are compared by their fields. First num is compared (it is more significant) and if nums are same, gen number is compared.

Returns:
true if one < two or false otherwise.

References pdfobjects::IndiRef::gen, and pdfobjects::IndiRef::num.


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