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_Null Class Referencefinal

#include <cpdf_null.h>

+ Inheritance diagram for CPDF_Null:
+ Collaboration diagram for CPDF_Null:

Public Member Functions

Type GetType () const override
 
RetainPtr< CPDF_ObjectClone () const override
 
CPDF_NullAsMutableNull () 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 ByteString GetString () const
 
virtual WideString GetUnicodeText () const
 
virtual float GetNumber () const
 
virtual int GetInteger () const
 
virtual void SetString (const ByteString &str)
 
virtual CPDF_ArrayAsMutableArray ()
 
virtual CPDF_BooleanAsMutableBoolean ()
 
virtual CPDF_DictionaryAsMutableDictionary ()
 
virtual CPDF_NameAsMutableName ()
 
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
 

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 13 of file cpdf_null.h.

Member Function Documentation

◆ AsMutableNull()

CPDF_Null * CPDF_Null::AsMutableNull ( )
overridevirtual

Reimplemented from CPDF_Object.

Definition at line 21 of file cpdf_null.cpp.

◆ Clone()

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

Implements CPDF_Object.

Definition at line 17 of file cpdf_null.cpp.

◆ GetType()

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

Implements CPDF_Object.

Definition at line 13 of file cpdf_null.cpp.

References CPDF_Object::kNullobj.

◆ WriteTo()

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

Implements CPDF_Object.

Definition at line 25 of file cpdf_null.cpp.

References IFX_WriteStream::WriteString().

+ Here is the call graph for this function:

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_RETAIN

CPDF_Null::CONSTRUCT_VIA_MAKE_RETAIN

Definition at line 15 of file cpdf_null.h.


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