RoleMap.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_CPPPDFStructRoleMap
00007 #define   H_CPPPDFStructRoleMap
00008 
00009 #include <SDF/Obj.h>
00010 #include <C/PDF/Struct/TRN_RoleMap.h>
00011 
00012 namespace pdftron { 
00013         namespace PDF {
00014                 namespace Struct {
00015 
00021 class RoleMap
00022 {
00023 public: 
00024 
00033          RoleMap (SDF::Obj dict);
00034         
00035          RoleMap (const RoleMap& p);
00036          RoleMap& operator= (const RoleMap& p);
00037 
00043          bool IsValid() const;
00044 
00051          const char* GetDirectMap(const char* type) const;
00052 
00057          SDF::Obj GetSDFObj () const;
00058 
00059 
00061          RoleMap(TRN_RoleMap impl);
00062 private:
00063         TRN_RoleMap mp_map;
00065 };
00066 
00067 
00068 #include <Impl/RoleMap.inl>
00069 
00070                 };      // namespace Struct
00071         };      // namespace PDF
00072 };      // namespace pdftron
00073 
00074 #endif
00075 

© 2002-2008 PDFTron Systems Inc.