pdfobjects::IndiRef Struct Reference

#include <indiref.h>

List of all members.

Public Types

typedef unsigned int ObjNum
typedef unsigned int GenNum

Public Member Functions

 IndiRef ()
 IndiRef (const IndiRef &ref)
 IndiRef (const ::Ref &ref)
 IndiRef (int _num, int _gen)
IndiRefoperator= (const IndiRef &_r)
bool operator== (const IndiRef &_r) const

Public Attributes

ObjNum num
GenNum gen

Static Public Attributes

static const ObjNum invalidnum = 0
static const GenNum invalidgen = 0

Detailed Description

Two numbers specifying indirect reference of a pdf object.


Member Typedef Documentation

typedef unsigned int pdfobjects::IndiRef::GenNum

Object generation number.

typedef unsigned int pdfobjects::IndiRef::ObjNum

Object identification number.


Constructor & Destructor Documentation

pdfobjects::IndiRef::IndiRef (  )  [inline]

Empty constructor. Initialize identification and generation number to invalid reference.

pdfobjects::IndiRef::IndiRef ( const IndiRef ref  )  [inline]

Constructor. Stores supplied identification and generation numbers.

Parameters:
ref Indirect Reference.
pdfobjects::IndiRef::IndiRef ( const ::Ref &  ref  )  [inline]

Constructor. Stores supplied identification and generation numbers.

Parameters:
ref Xpdf reference.
pdfobjects::IndiRef::IndiRef ( int  _num,
int  _gen 
) [inline]

Constructor. Stores supplied identification and generation numbers.

Parameters:
_num Object number.
_gen Generation number.

Member Function Documentation

IndiRef& pdfobjects::IndiRef::operator= ( const IndiRef _r  )  [inline]

Copy constructor.

References gen, and num.

bool pdfobjects::IndiRef::operator== ( const IndiRef _r  )  const [inline]

Equality operator.

References gen, and num.


Member Data Documentation

Invalid object generation number.

Invalid object identification number.

Referenced by pdfobjects::isRefValid().


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