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_NameTree Class Reference

#include <cpdf_nametree.h>

+ Collaboration diagram for CPDF_NameTree:

Public Member Functions

 CPDF_NameTree (const CPDF_NameTree &)=delete
 
CPDF_NameTreeoperator= (const CPDF_NameTree &)=delete
 
 ~CPDF_NameTree ()
 
bool AddValueAndName (RetainPtr< CPDF_Object > pObj, const WideString &name)
 
bool DeleteValueAndName (size_t nIndex)
 
RetainPtr< CPDF_ObjectLookupValueAndName (size_t nIndex, WideString *csName) const
 
RetainPtr< const CPDF_ObjectLookupValue (const WideString &csName) const
 
size_t GetCount () const
 
CPDF_DictionaryGetRootForTesting () const
 

Static Public Member Functions

static std::unique_ptr< CPDF_NameTreeCreate (CPDF_Document *pDoc, const ByteString &category)
 
static std::unique_ptr< CPDF_NameTreeCreateWithRootNameArray (CPDF_Document *pDoc, const ByteString &category)
 
static std::unique_ptr< CPDF_NameTreeCreateForTesting (CPDF_Dictionary *pRoot)
 
static RetainPtr< const CPDF_ArrayLookupNamedDest (CPDF_Document *doc, const ByteString &name)
 

Detailed Description

Definition at line 22 of file cpdf_nametree.h.

Constructor & Destructor Documentation

◆ CPDF_NameTree()

CPDF_NameTree::CPDF_NameTree ( const CPDF_NameTree & )
delete

◆ ~CPDF_NameTree()

CPDF_NameTree::~CPDF_NameTree ( )
default

Member Function Documentation

◆ AddValueAndName()

bool CPDF_NameTree::AddValueAndName ( RetainPtr< CPDF_Object > pObj,
const WideString & name )

Definition at line 487 of file cpdf_nametree.cpp.

◆ Create()

std::unique_ptr< CPDF_NameTree > CPDF_NameTree::Create ( CPDF_Document * pDoc,
const ByteString & category )
static

Definition at line 417 of file cpdf_nametree.cpp.

◆ CreateForTesting()

std::unique_ptr< CPDF_NameTree > CPDF_NameTree::CreateForTesting ( CPDF_Dictionary * pRoot)
static

Definition at line 463 of file cpdf_nametree.cpp.

◆ CreateWithRootNameArray()

std::unique_ptr< CPDF_NameTree > CPDF_NameTree::CreateWithRootNameArray ( CPDF_Document * pDoc,
const ByteString & category )
static

Definition at line 437 of file cpdf_nametree.cpp.

◆ DeleteValueAndName()

bool CPDF_NameTree::DeleteValueAndName ( size_t nIndex)

Definition at line 543 of file cpdf_nametree.cpp.

◆ GetCount()

size_t CPDF_NameTree::GetCount ( ) const

Definition at line 482 of file cpdf_nametree.cpp.

Referenced by testing.tools.safetynet_conclusions.ComparisonSummary::GetOutputDict().

+ Here is the caller graph for this function:

◆ GetRootForTesting()

CPDF_Dictionary * CPDF_NameTree::GetRootForTesting ( ) const
inline

Definition at line 52 of file cpdf_nametree.h.

◆ LookupNamedDest()

RetainPtr< const CPDF_Array > CPDF_NameTree::LookupNamedDest ( CPDF_Document * doc,
const ByteString & name )
static

Definition at line 470 of file cpdf_nametree.cpp.

Referenced by CPDF_Dest::Create(), and FPDF_GetNamedDestByName().

+ Here is the caller graph for this function:

◆ LookupValue()

RetainPtr< const CPDF_Object > CPDF_NameTree::LookupValue ( const WideString & csName) const

Definition at line 576 of file cpdf_nametree.cpp.

◆ LookupValueAndName()

RetainPtr< CPDF_Object > CPDF_NameTree::LookupValueAndName ( size_t nIndex,
WideString * csName ) const

Definition at line 562 of file cpdf_nametree.cpp.

References fxcrt::WideString::clear().

+ Here is the call graph for this function:

◆ operator=()

CPDF_NameTree & CPDF_NameTree::operator= ( const CPDF_NameTree & )
delete

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