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.h
Go to the documentation of this file.
1// Copyright 2016 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef CORE_FPDFAPI_PARSER_CPDF_NULL_H_
8#define CORE_FPDFAPI_PARSER_CPDF_NULL_H_
9
10#include "core/fpdfapi/parser/cpdf_object.h"
11#include "core/fxcrt/retain_ptr.h"
12
13class CPDF_Null final : public CPDF_Object {
14 public:
16
17 // CPDF_Object.
18 Type GetType() const override;
19 RetainPtr<CPDF_Object> Clone() const override;
20 CPDF_Null* AsMutableNull() override;
21 bool WriteTo(IFX_ArchiveStream* archive,
22 const CPDF_Encryptor* encryptor) const override;
23
24 private:
25 CPDF_Null();
26};
27
28#endif // CORE_FPDFAPI_PARSER_CPDF_NULL_H_
bool WriteTo(IFX_ArchiveStream *archive, const CPDF_Encryptor *encryptor) const override
Definition cpdf_null.cpp:25
RetainPtr< CPDF_Object > Clone() const override
Definition cpdf_null.cpp:17
Type GetType() const override
Definition cpdf_null.cpp:13
CPDF_Null * AsMutableNull() override
Definition cpdf_null.cpp:21
ElementType ParseNextElement()
RetainPtr< CPDF_Object > ReadNextObject(bool bAllowNestedArray, bool bInArray, uint32_t dwRecursionLevel)
RetainPtr< CPDF_Stream > ReadInlineStream(CPDF_Document *pDoc, RetainPtr< CPDF_Dictionary > pDict, const CPDF_Object *pCSObj)
CPDF_StreamParser(pdfium::span< const uint8_t > span, const WeakPtr< ByteStringPool > &pPool)
CPDF_StreamParser(pdfium::span< const uint8_t > span)
ByteString & operator+=(char ch)
bool operator==(const char *ptr) const
bool IsEmpty() const
Definition bytestring.h:119
bool PDFCharIsWhitespace(uint8_t c)
bool PDFCharIsOther(uint8_t c)
bool PDFCharIsNumeric(uint8_t c)
bool PDFCharIsDelimiter(uint8_t c)
bool PDFCharIsLineEnding(uint8_t c)
int FXSYS_DecimalCharToInt(char c)
bool FXSYS_IsOctalDigit(char c)
int FXSYS_HexCharToInt(char c)
#define FX_INVALID_OFFSET
const char kDecodeParms[]
#define CONSTRUCT_VIA_MAKE_RETAIN
Definition retain_ptr.h:224