ObjSet.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------------------------------
00002 // Copyright (c) 2001-2008 by PDFTron Systems Inc. All Rights Reserved.
00003 // Consult legal.txt regarding legal and license information.
00004 //---------------------------------------------------------------------------------------
00005 
00006 #ifndef   H_SDFObjSet
00007 #define   H_SDFObjSet
00008 
00009 #include <SDF/Obj.h>
00010 #include <C/SDF/TRN_ObjSet.h>
00011 
00012 namespace pdftron { 
00013         namespace SDF {
00014 
00018 class ObjSet
00019 {
00020 public:
00021         ObjSet();
00022         ~ObjSet();
00023 
00027         Obj CreateName(const char* name);
00028 
00032         Obj CreateArray();
00033 
00037         Obj CreateBool(bool value);
00038 
00042         Obj CreateDict();
00043 
00047         Obj CreateNull();
00048 
00052         Obj CreateNumber(double value);
00053 
00057         Obj CreateString(const UString& value);
00058 
00059 private:
00060         TRN_ObjSet mp_set;
00061 };
00062 
00063 
00064 #include <Impl/ObjSet.inl>
00065         };      // namespace SDF
00066 };      // namespace pdftron
00067 
00068 #endif

© 2002-2008 PDFTron Systems Inc.