Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

template<typename T >
const T PoDoFo::PDF_MAX ( const T  a,
const T  b 
)

PDF_MAX(x,y)

Returns:
the maximum of x and y

Definition at line 435 of file PdfDefines.h.

Referenced by PoDoFo::PdfXRef::GetSize(), PoDoFo::PdfRefCountedBuffer::ReallyDetach(), PoDoFo::PdfRefCountedBuffer::ReallyResize(), and PoDoFo::PdfMemoryOutputStream::Write().

                                                               {
  return (b<a)?a:b;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index