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
11namespace pdftron {
12 namespace SDF {
13
17class ObjSet
18{
19public:
22
23 ObjSet(const ObjSet& source);
24 ObjSet& operator=(const ObjSet& source);
25
30 Obj CreateName(const char* name);
31
36
41 Obj CreateBool(bool value);
42
47
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
77private:
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 CreateFromJson(const UString &value)
Obj CreateName(const char *name)
Obj CreateBool(bool value)
Obj CreateString(const UString &value)
Obj CreateNumber(double value)
ObjSet(const ObjSet &source)
ObjSet & operator=(const ObjSet &source)