#include "core/fpdfapi/parser/cpdf_object.h"
#include <algorithm>
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_indirect_object_holder.h"
#include "core/fpdfapi/parser/cpdf_parser.h"
#include "core/fpdfapi/parser/cpdf_reference.h"
#include "core/fxcrt/check.h"
#include "core/fxcrt/fx_string.h"
#include "core/fxcrt/notreached.h"
CPDF_Object::~CPDF_Object() = default;
static_assert …;
static_assert …;
uint64_t CPDF_Object::KeyForCache() const { … }
RetainPtr<CPDF_Object> CPDF_Object::GetMutableDirect() { … }
RetainPtr<const CPDF_Object> CPDF_Object::GetDirect() const { … }
const CPDF_Object* CPDF_Object::GetDirectInternal() const { … }
RetainPtr<CPDF_Object> CPDF_Object::CloneObjectNonCyclic(bool bDirect) const { … }
RetainPtr<CPDF_Object> CPDF_Object::CloneDirectObject() const { … }
RetainPtr<CPDF_Object> CPDF_Object::CloneNonCyclic(
bool bDirect,
std::set<const CPDF_Object*>* pVisited) const { … }
ByteString CPDF_Object::GetString() const { … }
WideString CPDF_Object::GetUnicodeText() const { … }
float CPDF_Object::GetNumber() const { … }
int CPDF_Object::GetInteger() const { … }
RetainPtr<const CPDF_Dictionary> CPDF_Object::GetDict() const { … }
RetainPtr<CPDF_Dictionary> CPDF_Object::GetMutableDict() { … }
const CPDF_Dictionary* CPDF_Object::GetDictInternal() const { … }
void CPDF_Object::SetString(const ByteString& str) { … }
CPDF_Array* CPDF_Object::AsMutableArray() { … }
const CPDF_Array* CPDF_Object::AsArray() const { … }
CPDF_Boolean* CPDF_Object::AsMutableBoolean() { … }
const CPDF_Boolean* CPDF_Object::AsBoolean() const { … }
CPDF_Dictionary* CPDF_Object::AsMutableDictionary() { … }
const CPDF_Dictionary* CPDF_Object::AsDictionary() const { … }
CPDF_Name* CPDF_Object::AsMutableName() { … }
const CPDF_Name* CPDF_Object::AsName() const { … }
CPDF_Null* CPDF_Object::AsMutableNull() { … }
const CPDF_Null* CPDF_Object::AsNull() const { … }
CPDF_Number* CPDF_Object::AsMutableNumber() { … }
const CPDF_Number* CPDF_Object::AsNumber() const { … }
CPDF_Reference* CPDF_Object::AsMutableReference() { … }
const CPDF_Reference* CPDF_Object::AsReference() const { … }
CPDF_Stream* CPDF_Object::AsMutableStream() { … }
const CPDF_Stream* CPDF_Object::AsStream() const { … }
CPDF_String* CPDF_Object::AsMutableString() { … }
const CPDF_String* CPDF_Object::AsString() const { … }
RetainPtr<CPDF_Reference> CPDF_Object::MakeReference(
CPDF_IndirectObjectHolder* holder) const { … }