#include "core/fpdfapi/parser/cpdf_reference.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_indirect_object_holder.h"
#include "core/fxcrt/check_op.h"
#include "core/fxcrt/containers/contains.h"
#include "core/fxcrt/fx_stream.h"
CPDF_Reference::CPDF_Reference(CPDF_IndirectObjectHolder* pDoc, uint32_t objnum)
: … { … }
CPDF_Reference::~CPDF_Reference() = default;
CPDF_Object::Type CPDF_Reference::GetType() const { … }
ByteString CPDF_Reference::GetString() const { … }
float CPDF_Reference::GetNumber() const { … }
int CPDF_Reference::GetInteger() const { … }
const CPDF_Dictionary* CPDF_Reference::GetDictInternal() const { … }
CPDF_Reference* CPDF_Reference::AsMutableReference() { … }
RetainPtr<CPDF_Object> CPDF_Reference::Clone() const { … }
RetainPtr<CPDF_Object> CPDF_Reference::CloneNonCyclic(
bool bDirect,
std::set<const CPDF_Object*>* pVisited) const { … }
const CPDF_Object* CPDF_Reference::FastGetDirect() const { … }
void CPDF_Reference::SetRef(CPDF_IndirectObjectHolder* pDoc, uint32_t objnum) { … }
const CPDF_Object* CPDF_Reference::GetDirectInternal() const { … }
bool CPDF_Reference::WriteTo(IFX_ArchiveStream* archive,
const CPDF_Encryptor* encryptor) const { … }
RetainPtr<CPDF_Reference> CPDF_Reference::MakeReference(
CPDF_IndirectObjectHolder* holder) const { … }