Loading...
Searching...
No Matches
pdftron::SDF::ObjSet Class Reference

#include <ObjSet.h>

Public Member Functions

 ObjSet ()
 ~ObjSet ()
 ObjSet (const ObjSet &source)
ObjSetoperator= (const ObjSet &source)
Obj CreateName (const char *name)
Obj CreateArray ()
Obj CreateBool (bool value)
Obj CreateDict ()
Obj CreateNull ()
Obj CreateNumber (double value)
Obj CreateString (const UString &value)
Obj CreateFromJson (const UString &value)
void Destroy ()

Detailed Description

ObjSet is a lightweight container that can hold a collection of SDF objects.

Definition at line 17 of file ObjSet.h.

Constructor & Destructor Documentation

◆ ObjSet() [1/2]

pdftron::SDF::ObjSet::ObjSet ( )

◆ ~ObjSet()

pdftron::SDF::ObjSet::~ObjSet ( )

◆ ObjSet() [2/2]

pdftron::SDF::ObjSet::ObjSet ( const ObjSet & source)

Member Function Documentation

◆ CreateArray()

Obj pdftron::SDF::ObjSet::CreateArray ( )

Create a new array object in this object set.

◆ CreateBool()

Obj pdftron::SDF::ObjSet::CreateBool ( bool value)

Create a new boolean object in this object set.

Parameters
valueThe boolean value of the object to create

◆ CreateDict()

Obj pdftron::SDF::ObjSet::CreateDict ( )

Create a new dictionary object in this object set.

◆ CreateFromJson()

Obj pdftron::SDF::ObjSet::CreateFromJson ( const UString & value)

parses a json string to create either a Dictionary or an Array in ObjSet.

return the created object as Obj

◆ CreateName()

Obj pdftron::SDF::ObjSet::CreateName ( const char * name)

Create a new name object in this object set.

Parameters
nameThe name of the object to create

◆ CreateNull()

Obj pdftron::SDF::ObjSet::CreateNull ( )

Create a new null object in this object set.

◆ CreateNumber()

Obj pdftron::SDF::ObjSet::CreateNumber ( double value)

Create a new number object in this object set.

Parameters
valueThe numeric value of the number object to create.

◆ CreateString()

Obj pdftron::SDF::ObjSet::CreateString ( const UString & value)

Create a new string object in this object set. The unsigned string value of the string object to create.

◆ Destroy()

void pdftron::SDF::ObjSet::Destroy ( )

Frees the native memory of the object.

◆ operator=()

ObjSet & pdftron::SDF::ObjSet::operator= ( const ObjSet & source)

The documentation for this class was generated from the following file: