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

Detailed Description

Class representing a CFF index element.

Constructor & Destructor Documentation

◆ wxPdfCffIndexElement() [1/4]

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() [2/4]

wxPdfCffIndexElement::wxPdfCffIndexElement ( wxMemoryOutputStream & buf)

Constructor.

Parameters
bufstream buffer containing the index element

◆ wxPdfCffIndexElement() [3/4]

wxPdfCffIndexElement::wxPdfCffIndexElement ( const char * str)

Constructor.

Parameters
strstream buffer containing the index element

◆ ~wxPdfCffIndexElement()

virtual wxPdfCffIndexElement::~wxPdfCffIndexElement ( )
virtual

Destructor.

◆ wxPdfCffIndexElement() [4/4]

wxPdfCffIndexElement::wxPdfCffIndexElement ( const wxPdfCffIndexElement & copy)

Copy constructor.

Member Function Documentation

◆ Emit()

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

Emit the index element into an output stream.

Parameters
[out]bufferthe output stream

◆ GetBuffer()

wxInputStream * wxPdfCffIndexElement::GetBuffer ( )
inline

Get the stream buffer.

Returns
the stream buffer

◆ GetLength()

int wxPdfCffIndexElement::GetLength ( )
inline

Get the length of the index element.

Returns
the length of the index element

◆ GetOffset()

int wxPdfCffIndexElement::GetOffset ( )
inline

Get the offset of the index element.

Returns
the offset within the stream buffer

◆ IsCopy()

bool wxPdfCffIndexElement::IsCopy ( )
inline

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

Returns
a flag whether the stream buffer

◆ operator=()

wxPdfCffIndexElement & wxPdfCffIndexElement::operator= ( const wxPdfCffIndexElement & copy)

Assignment operator.

◆ SetBuffer()

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: