Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_array.h>
Public Types | |
using | const_iterator = std::vector<RetainPtr<CPDF_Object>>::const_iterator |
Public Types inherited from CPDF_Object | |
enum | Type { kBoolean = 1 , kNumber , kString , kName , kArray , kDictionary , kStream , kNullobj , kReference } |
Public Attributes | |
CONSTRUCT_VIA_MAKE_RETAIN | |
Private Member Functions | |
~CPDF_Array () override | |
RetainPtr< CPDF_Object > | CloneNonCyclic (bool bDirect, std::set< const CPDF_Object * > *pVisited) const override |
Friends | |
class | CPDF_ArrayLocker |
Additional Inherited Members | |
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_Object * | GetDirectInternal () const |
virtual const CPDF_Dictionary * | GetDictInternal () const |
RetainPtr< CPDF_Object > | CloneObjectNonCyclic (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 |
Definition at line 27 of file cpdf_array.h.
using CPDF_Array::const_iterator = std::vector<RetainPtr<CPDF_Object>>::const_iterator |
Definition at line 29 of file cpdf_array.h.
|
overrideprivate |
Definition at line 28 of file cpdf_array.cpp.
References CPDF_Object::kInvalidObjNum, and CPDF_Object::m_ObjNum.
void CPDF_Array::Append | ( | RetainPtr< CPDF_Object > | object | ) |
Definition at line 225 of file cpdf_array.cpp.
|
delete |
|
inline |
Definition at line 85 of file cpdf_array.h.
|
inline |
Definition at line 91 of file cpdf_array.h.
|
overridevirtual |
Reimplemented from CPDF_Object.
Definition at line 41 of file cpdf_array.cpp.
void CPDF_Array::Clear | ( | ) |
Definition at line 193 of file cpdf_array.cpp.
References IsLocked().
|
overridevirtual |
Implements CPDF_Object.
Definition at line 45 of file cpdf_array.cpp.
References CPDF_Object::CloneObjectNonCyclic().
|
overrideprivatevirtual |
Reimplemented from CPDF_Object.
Definition at line 49 of file cpdf_array.cpp.
bool CPDF_Array::Contains | ( | const CPDF_Object * | pThat | ) | const |
Definition at line 92 of file cpdf_array.cpp.
void CPDF_Array::ConvertToIndirectObjectAt | ( | size_t | index, |
CPDF_IndirectObjectHolder * | pHolder ) |
Definition at line 204 of file cpdf_array.cpp.
References IsLocked().
absl::optional< size_t > CPDF_Array::Find | ( | const CPDF_Object * | pThat | ) | const |
Definition at line 84 of file cpdf_array.cpp.
RetainPtr< const CPDF_Array > CPDF_Array::GetArrayAt | ( | size_t | index | ) | const |
Definition at line 181 of file cpdf_array.cpp.
bool CPDF_Array::GetBooleanAt | ( | size_t | index, |
bool | bDefault ) const |
Definition at line 133 of file cpdf_array.cpp.
References CPDF_Object::GetInteger(), and ToBoolean().
ByteString CPDF_Array::GetByteStringAt | ( | size_t | index | ) | const |
Definition at line 121 of file cpdf_array.cpp.
References fxcrt::ByteString::ByteString().
RetainPtr< const CPDF_Dictionary > CPDF_Array::GetDictAt | ( | size_t | index | ) | const |
Definition at line 165 of file cpdf_array.cpp.
RetainPtr< const CPDF_Object > CPDF_Array::GetDirectObjectAt | ( | size_t | index | ) | const |
Definition at line 112 of file cpdf_array.cpp.
float CPDF_Array::GetFloatAt | ( | size_t | index | ) | const |
Definition at line 146 of file cpdf_array.cpp.
int CPDF_Array::GetIntegerAt | ( | size_t | index | ) | const |
Definition at line 140 of file cpdf_array.cpp.
CFX_Matrix CPDF_Array::GetMatrix | ( | ) | const |
Definition at line 76 of file cpdf_array.cpp.
References CFX_Matrix::CFX_Matrix().
Referenced by CPDF_Dictionary::GetMatrixFor().
RetainPtr< CPDF_Array > CPDF_Array::GetMutableArrayAt | ( | size_t | index | ) |
Definition at line 177 of file cpdf_array.cpp.
RetainPtr< CPDF_Dictionary > CPDF_Array::GetMutableDictAt | ( | size_t | index | ) |
Definition at line 152 of file cpdf_array.cpp.
References CPDF_Object::GetMutableDict().
RetainPtr< CPDF_Object > CPDF_Array::GetMutableDirectObjectAt | ( | size_t | index | ) |
Definition at line 116 of file cpdf_array.cpp.
RetainPtr< CPDF_Object > CPDF_Array::GetMutableObjectAt | ( | size_t | index | ) |
Definition at line 104 of file cpdf_array.cpp.
RetainPtr< CPDF_Stream > CPDF_Array::GetMutableStreamAt | ( | size_t | index | ) |
Definition at line 169 of file cpdf_array.cpp.
RetainPtr< const CPDF_Number > CPDF_Array::GetNumberAt | ( | size_t | index | ) | const |
Definition at line 185 of file cpdf_array.cpp.
RetainPtr< const CPDF_Object > CPDF_Array::GetObjectAt | ( | size_t | index | ) | const |
Definition at line 108 of file cpdf_array.cpp.
CFX_FloatRect CPDF_Array::GetRect | ( | ) | const |
Definition at line 64 of file cpdf_array.cpp.
Referenced by CPDF_Dictionary::GetRectFor().
RetainPtr< const CPDF_Stream > CPDF_Array::GetStreamAt | ( | size_t | index | ) | const |
Definition at line 173 of file cpdf_array.cpp.
RetainPtr< const CPDF_String > CPDF_Array::GetStringAt | ( | size_t | index | ) | const |
Definition at line 189 of file cpdf_array.cpp.
|
overridevirtual |
Implements CPDF_Object.
Definition at line 37 of file cpdf_array.cpp.
References CPDF_Object::kArray.
WideString CPDF_Array::GetUnicodeTextAt | ( | size_t | index | ) | const |
Definition at line 127 of file cpdf_array.cpp.
References fxcrt::WideString::WideString().
void CPDF_Array::InsertAt | ( | size_t | index, |
RetainPtr< CPDF_Object > | object ) |
Definition at line 221 of file cpdf_array.cpp.
|
delete |
|
inline |
Definition at line 109 of file cpdf_array.h.
|
inline |
Definition at line 115 of file cpdf_array.h.
|
inline |
Definition at line 40 of file cpdf_array.h.
Referenced by CPDF_ColorSpace::Load().
|
inline |
Definition at line 141 of file cpdf_array.h.
Referenced by Clear(), ConvertToIndirectObjectAt(), and RemoveAt().
void CPDF_Array::RemoveAt | ( | size_t | index | ) |
Definition at line 198 of file cpdf_array.cpp.
References IsLocked().
void CPDF_Array::SetAt | ( | size_t | index, |
RetainPtr< CPDF_Object > | object ) |
Definition at line 217 of file cpdf_array.cpp.
|
delete |
|
inline |
Definition at line 97 of file cpdf_array.h.
|
inline |
Definition at line 103 of file cpdf_array.h.
|
inline |
Definition at line 41 of file cpdf_array.h.
|
overridevirtual |
Implements CPDF_Object.
Definition at line 264 of file cpdf_array.cpp.
References IFX_WriteStream::WriteString().
|
friend |
Definition at line 144 of file cpdf_array.h.
CPDF_Array::CONSTRUCT_VIA_MAKE_RETAIN |
Definition at line 31 of file cpdf_array.h.