Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CPDF_Boolean Class Referencefinal

#include <cpdf_boolean.h>

+ Inheritance diagram for CPDF_Boolean:
+ Collaboration diagram for CPDF_Boolean:

Public Member Functions

Type GetType () const override
 
RetainPtr< CPDF_ObjectClone () const override
 
ByteString GetString () const override
 
int GetInteger () const override
 
void SetString (const ByteString &str) override
 
CPDF_BooleanAsMutableBoolean () override
 
bool WriteTo (IFX_ArchiveStream *archive, const CPDF_Encryptor *encryptor) const override
 
- Public Member Functions inherited from CPDF_Object
uint32_t GetObjNum () const
 
void SetObjNum (uint32_t objnum)
 
uint32_t GetGenNum () const
 
void SetGenNum (uint32_t gennum)
 
bool IsInline () const
 
uint64_t KeyForCache () const
 
RetainPtr< CPDF_ObjectCloneDirectObject () const
 
virtual WideString GetUnicodeText () const
 
virtual float GetNumber () const
 
virtual CPDF_ArrayAsMutableArray ()
 
virtual CPDF_DictionaryAsMutableDictionary ()
 
virtual CPDF_NameAsMutableName ()
 
virtual CPDF_NullAsMutableNull ()
 
virtual CPDF_NumberAsMutableNumber ()
 
virtual CPDF_ReferenceAsMutableReference ()
 
virtual CPDF_StreamAsMutableStream ()
 
virtual CPDF_StringAsMutableString ()
 
virtual RetainPtr< CPDF_ObjectCloneNonCyclic (bool bDirect, std::set< const CPDF_Object * > *pVisited) const
 
virtual RetainPtr< CPDF_ReferenceMakeReference (CPDF_IndirectObjectHolder *holder) const
 
RetainPtr< const CPDF_ObjectGetDirect () const
 
RetainPtr< CPDF_ObjectGetMutableDirect ()
 
RetainPtr< const CPDF_DictionaryGetDict () const
 
RetainPtr< CPDF_DictionaryGetMutableDict ()
 
const CPDF_ArrayAsArray () const
 
const CPDF_BooleanAsBoolean () const
 
const CPDF_DictionaryAsDictionary () const
 
const CPDF_NameAsName () const
 
const CPDF_NullAsNull () const
 
const CPDF_NumberAsNumber () const
 
const CPDF_ReferenceAsReference () const
 
const CPDF_StreamAsStream () const
 
const CPDF_StringAsString () const
 
bool IsArray () const
 
bool IsBoolean () const
 
bool IsDictionary () const
 
bool IsName () const
 
bool IsNull () const
 
bool IsNumber () const
 
bool IsReference () const
 
bool IsStream () const
 
bool IsString () const
 
- Public Member Functions inherited from fxcrt::Retainable
 Retainable ()=default
 
bool HasOneRef () const
 

Public Attributes

 CONSTRUCT_VIA_MAKE_RETAIN
 

Private Member Functions

 ~CPDF_Boolean () override
 

Additional Inherited Members

- Public Types inherited from CPDF_Object
enum  Type {
  kBoolean = 1 , kNumber , kString , kName ,
  kArray , kDictionary , kStream , kNullobj ,
  kReference
}
 
- Static Public Attributes inherited from CPDF_Object
static constexpr uint32_t kInvalidObjNum = static_cast<uint32_t>(-1)
 
- Protected Member Functions inherited from CPDF_Object
 CPDF_Object ()=default
 
 CPDF_Object (const CPDF_Object &src)=delete
 
 ~CPDF_Object () override
 
virtual const CPDF_ObjectGetDirectInternal () const
 
virtual const CPDF_DictionaryGetDictInternal () const
 
RetainPtr< CPDF_ObjectCloneObjectNonCyclic (bool bDirect) const
 
- Protected Member Functions inherited from fxcrt::Retainable
virtual ~Retainable ()=default
 
- Protected Attributes inherited from CPDF_Object
uint32_t m_ObjNum = 0
 
uint32_t m_GenNum = 0
 

Detailed Description

Definition at line 14 of file cpdf_boolean.h.

Member Function Documentation

◆ ~CPDF_Boolean()

CPDF_Boolean::~CPDF_Boolean ( )
overrideprivatedefault

◆ AsMutableBoolean()

CPDF_Boolean * CPDF_Boolean::AsMutableBoolean ( )
overridevirtual

Reimplemented from CPDF_Object.

Definition at line 37 of file cpdf_boolean.cpp.

◆ Clone()

RetainPtr< CPDF_Object > CPDF_Boolean::Clone ( ) const
overridevirtual

Implements CPDF_Object.

Definition at line 21 of file cpdf_boolean.cpp.

◆ GetInteger()

int CPDF_Boolean::GetInteger ( ) const
overridevirtual

Reimplemented from CPDF_Object.

Definition at line 29 of file cpdf_boolean.cpp.

◆ GetString()

ByteString CPDF_Boolean::GetString ( ) const
overridevirtual

Reimplemented from CPDF_Object.

Definition at line 25 of file cpdf_boolean.cpp.

Referenced by WriteTo().

+ Here is the caller graph for this function:

◆ GetType()

CPDF_Object::Type CPDF_Boolean::GetType ( ) const
overridevirtual

Implements CPDF_Object.

Definition at line 17 of file cpdf_boolean.cpp.

References CPDF_Object::kBoolean.

◆ SetString()

void CPDF_Boolean::SetString ( const ByteString & str)
overridevirtual

Reimplemented from CPDF_Object.

Definition at line 33 of file cpdf_boolean.cpp.

References fxcrt::ByteString::operator==().

+ Here is the call graph for this function:

◆ WriteTo()

bool CPDF_Boolean::WriteTo ( IFX_ArchiveStream * archive,
const CPDF_Encryptor * encryptor ) const
overridevirtual

Implements CPDF_Object.

Definition at line 41 of file cpdf_boolean.cpp.

References GetString(), and IFX_WriteStream::WriteString().

+ Here is the call graph for this function:

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_RETAIN

CPDF_Boolean::CONSTRUCT_VIA_MAKE_RETAIN

Definition at line 16 of file cpdf_boolean.h.


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