Loading...
Searching...
No Matches
ObjSet.h
Go to the documentation of this file.
1//---------------------------------------------------------------------------------------
2// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
3// Consult legal.txt regarding legal and license information.
4//---------------------------------------------------------------------------------------
5#ifndef PDFTRON_H_CPPSDFObjSet
6#define PDFTRON_H_CPPSDFObjSet
7
8#include <SDF/Obj.h>
9#include <C/SDF/TRN_ObjSet.h>
10
11 namespace pdftron {
12 namespace SDF {
13
17 class ObjSet
18{
19 public:
20 ObjSet();
21 ~ObjSet();
22
23 ObjSet(const ObjSet& source);
24 ObjSet& operator=(const ObjSet& source);
25
30 Obj CreateName(const char* name);
31
35 Obj CreateArray();
36
41 Obj CreateBool(bool value);
42
46 Obj CreateDict();
47
51 Obj CreateNull();
52
57 Obj CreateNumber(double value);
58
63 Obj CreateString(const UString& value);
64
70 Obj CreateFromJson(const UString& value);
71
75 void Destroy();
76
77 private:
78 TRN_ObjSet mp_set;
79};
80
81
82#include <Impl/ObjSet.inl>
83 }; // namespace SDF
84}; // namespace pdftron
85
86#endif // PDFTRON_H_CPPSDFObjSet
Obj.h
pdftron::SDF::Obj
Definition Obj.h:41
pdftron::SDF::ObjSet::CreateDict
Obj CreateDict()
pdftron::SDF::ObjSet::CreateFromJson
Obj CreateFromJson(const UString &value)
pdftron::SDF::ObjSet::CreateName
Obj CreateName(const char *name)
pdftron::SDF::ObjSet::Destroy
void Destroy()
pdftron::SDF::ObjSet::CreateArray
Obj CreateArray()
pdftron::SDF::ObjSet::CreateBool
Obj CreateBool(bool value)
pdftron::SDF::ObjSet::ObjSet
ObjSet()
pdftron::SDF::ObjSet::~ObjSet
~ObjSet()
pdftron::SDF::ObjSet::CreateString
Obj CreateString(const UString &value)
pdftron::SDF::ObjSet::CreateNull
Obj CreateNull()
pdftron::SDF::ObjSet::CreateNumber
Obj CreateNumber(double value)
pdftron::SDF::ObjSet::ObjSet
ObjSet(const ObjSet &source)
pdftron::SDF::ObjSet::operator=
ObjSet & operator=(const ObjSet &source)
pdftron::UString
Definition UString.h:28
pdftron::SDF
Definition DictIterator.h:12
pdftron
Definition BasicTypes.h:10