wxPdfDocument  0.9.5
Public Member Functions | List of all members
wxPdfCffIndexElement Class Reference

Class representing a CFF index element. More...

#include <pdfcffindex.h>

Public Member Functions

 wxPdfCffIndexElement (wxInputStream *buf, int offset, int length)
 Constructor. More...
 
 wxPdfCffIndexElement (wxMemoryOutputStream &buf)
 Constructor. More...
 
 wxPdfCffIndexElement (const char *str)
 Constructor. More...
 
virtual ~wxPdfCffIndexElement ()
 Destructor. More...
 
 wxPdfCffIndexElement (const wxPdfCffIndexElement &copy)
 Copy constructor. More...
 
wxPdfCffIndexElementoperator= (const wxPdfCffIndexElement &copy)
 Assignment operator. More...
 
void SetBuffer (wxMemoryOutputStream &buf)
 Set the stream buffer. More...
 
virtual void Emit (wxMemoryOutputStream &buffer)
 Emit the index element into an output stream. More...
 
bool IsCopy ()
 Check whether the stream buffer is a copy of another stream buffer. More...
 
int GetOffset ()
 Get the offset of the index element. More...
 
int GetLength ()
 Get the length of the index element. More...
 
wxInputStream * GetBuffer ()
 Get the stream buffer. More...
 

Detailed Description

Class representing a CFF index element.

Constructor & Destructor Documentation

wxPdfCffIndexElement::wxPdfCffIndexElement ( wxInputStream *  buf,
int  offset,
int  length 
)

Constructor.

Parameters
bufstream buffer containing the index element
offsetoffset of the index within the stream buffer
lengthlength of the index
wxPdfCffIndexElement::wxPdfCffIndexElement ( wxMemoryOutputStream &  buf)

Constructor.

Parameters
bufstream buffer containing the index element
wxPdfCffIndexElement::wxPdfCffIndexElement ( const char *  str)

Constructor.

Parameters
strstream buffer containing the index element
virtual wxPdfCffIndexElement::~wxPdfCffIndexElement ( )
virtual

Destructor.

wxPdfCffIndexElement::wxPdfCffIndexElement ( const wxPdfCffIndexElement copy)

Copy constructor.

Member Function Documentation

virtual void wxPdfCffIndexElement::Emit ( wxMemoryOutputStream &  buffer)
virtual

Emit the index element into an output stream.

Parameters
[out]bufferthe output stream
wxInputStream* wxPdfCffIndexElement::GetBuffer ( )
inline

Get the stream buffer.

Returns
the stream buffer
int wxPdfCffIndexElement::GetLength ( )
inline

Get the length of the index element.

Returns
the length of the index element
int wxPdfCffIndexElement::GetOffset ( )
inline

Get the offset of the index element.

Returns
the offset within the stream buffer
bool wxPdfCffIndexElement::IsCopy ( )
inline

Check whether the stream buffer is a copy of another stream buffer.

Returns
a flag whether the stream buffer
wxPdfCffIndexElement& wxPdfCffIndexElement::operator= ( const wxPdfCffIndexElement copy)

Assignment operator.

void wxPdfCffIndexElement::SetBuffer ( wxMemoryOutputStream &  buf)

Set the stream buffer.

Parameters
bufthe stream buffer containing the index element

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