wxMaxima
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes
wxPdfBoolean Class Reference

Class representing a boolean object. (For internal use only) More...

#include <pdfobjects.h>

Inheritance diagram for wxPdfBoolean:
[legend]
Collaboration diagram for wxPdfBoolean:
[legend]

Public Member Functions

 wxPdfBoolean (bool value)
 Constructor.
 
virtual ~wxPdfBoolean ()
 Destructor.
 
bool GetValue ()
 Get boolean value.
 
wxString GetAsString ()
 Get boolean value as string.
 
int GetType ()
 Get the type of the object.
 
void SetObjNum (int objNum, int objGen=0)
 Set object and generation number.
 
int GetNumber ()
 Get object number.
 
int GetGeneration ()
 Get generation number.
 
void SetActualId (int actualId)
 Set actual object id.
 
int GetActualId ()
 
void SetCreatedIndirect (bool indirect)
 Flag this object as created through an indirect reference.
 
bool IsCreatedIndirect ()
 Check whether this object was created through an indirect reference.
 
bool CanBeInObjStm ()
 Check whether this object can be in an object stream.
 
bool IsNull ()
 Checks whether this is a wxPdfNull object.
 
bool IsBoolean ()
 Checks whether this is a wxPdfBoolean object.
 
bool IsNumber ()
 Checks whether this is a wxPdfNumber object.
 
bool IsString ()
 Checks whether this is a wxPdfString object.
 
bool IsName ()
 Checks whether this is a wxPdfName object.
 
bool IsArray ()
 Checks whether this is a wxPdfArray object.
 
bool IsDictionary ()
 Checks whether this is a wxPdfDictionary object.
 
bool IsStream ()
 Checks whether this PdfObject is of the type PdfStream.
 
bool IsIndirect ()
 Checks if this is an indirect object.
 

Protected Attributes

int m_type
 Object type.
 
int m_objNum
 Object number.
 
int m_objGen
 Object generation.
 
int m_actualId
 Actual object id.
 
bool m_indirect
 Flag whether created through indirect reference.
 

Detailed Description

Class representing a boolean object. (For internal use only)

Constructor & Destructor Documentation

◆ wxPdfBoolean()

wxPdfBoolean::wxPdfBoolean ( bool  value)

Constructor.

Parameters
valueThe boolean value

Member Function Documentation

◆ CanBeInObjStm()

bool wxPdfObject::CanBeInObjStm ( )
inherited

Check whether this object can be in an object stream.

Returns
true if the object can be in an object stream, false otherwise

◆ GetActualId()

int wxPdfObject::GetActualId ( )
inlineinherited
Returns
The actual object ID

◆ GetAsString()

wxString wxPdfBoolean::GetAsString ( )

Get boolean value as string.

Returns
The boolean value as a string ("true" or "false")

◆ GetGeneration()

int wxPdfObject::GetGeneration ( )
inlineinherited

Get generation number.

Returns
The generation number

◆ GetNumber()

int wxPdfObject::GetNumber ( )
inlineinherited

Get object number.

Returns
The object number

◆ GetType()

int wxPdfObject::GetType ( )
inlineinherited

Get the type of the object.

Returns
The object type

◆ GetValue()

bool wxPdfBoolean::GetValue ( )
inline

Get boolean value.

Returns
The boolean value

◆ IsArray()

bool wxPdfObject::IsArray ( )
inlineinherited

Checks whether this is a wxPdfArray object.

Returns
true if this is an array object, false otherwise

◆ IsBoolean()

bool wxPdfObject::IsBoolean ( )
inlineinherited

Checks whether this is a wxPdfBoolean object.

Returns
true if this is a boolean object, false otherwise

◆ IsCreatedIndirect()

bool wxPdfObject::IsCreatedIndirect ( )
inlineinherited

Check whether this object was created through an indirect reference.

Returns
true if the object was created through an indirect reference, false otherwise

◆ IsDictionary()

bool wxPdfObject::IsDictionary ( )
inlineinherited

Checks whether this is a wxPdfDictionary object.

Returns
true if this is a dictionary object, false otherwise

◆ IsIndirect()

bool wxPdfObject::IsIndirect ( )
inlineinherited

Checks if this is an indirect object.

Returns
true if this is an indirect object, false otherwise

◆ IsName()

bool wxPdfObject::IsName ( )
inlineinherited

Checks whether this is a wxPdfName object.

Returns
true if this is a name object, false otherwise

◆ IsNull()

bool wxPdfObject::IsNull ( )
inlineinherited

Checks whether this is a wxPdfNull object.

Returns
true if this is a null object, false otherwise

◆ IsNumber()

bool wxPdfObject::IsNumber ( )
inlineinherited

Checks whether this is a wxPdfNumber object.

Returns
true if this is a number object, false otherwise

◆ IsStream()

bool wxPdfObject::IsStream ( )
inlineinherited

Checks whether this PdfObject is of the type PdfStream.

Returns
true if this is a stream object, false otherwise

◆ IsString()

bool wxPdfObject::IsString ( )
inlineinherited

Checks whether this is a wxPdfString object.

Returns
true if this is a string object, false otherwise

◆ SetActualId()

void wxPdfObject::SetActualId ( int  actualId)
inlineinherited

Set actual object id.

Parameters
actualIdThe actual object ID

◆ SetCreatedIndirect()

void wxPdfObject::SetCreatedIndirect ( bool  indirect)
inlineinherited

Flag this object as created through an indirect reference.

Parameters
indirectFlag whether the object is an indirect reference

◆ SetObjNum()

void wxPdfObject::SetObjNum ( int  objNum,
int  objGen = 0 
)
inherited

Set object and generation number.

Parameters
objNumThe object number
objGenThe generation number

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