Public Member Functions | Public Attributes

PD_DocumentRange Class Reference

#include <pt_Types.h>

List of all members.

Public Member Functions

 PD_DocumentRange (void)
 Dummy constructor.
 PD_DocumentRange (PD_Document *pDoc, PT_DocPosition k1, PT_DocPosition k2)
 Initializing constructor.
void set (PD_Document *pDoc, PT_DocPosition k1, PT_DocPosition k2)
 Set range limits.

Public Attributes

 Document this range is in.
PT_DocPosition m_pos1
 Lower limit of range.
PT_DocPosition m_pos2
 Upper limit of range.

Detailed Description

PD_DocumentRange identifies a piece of the document, using two PT_DocPosition absolute document positions as limits.

Constructor & Destructor Documentation

PD_DocumentRange::PD_DocumentRange ( void   )  [inline]

Dummy constructor.

Resulting range is invalid until it is initialized with set

PD_DocumentRange::PD_DocumentRange ( PD_Document pDoc,
PT_DocPosition  k1,
PT_DocPosition  k2 
) [inline]

Initializing constructor.

Member Function Documentation

void PD_DocumentRange::set ( PD_Document pDoc,
PT_DocPosition  k1,
PT_DocPosition  k2 
) [inline]

Member Data Documentation

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