cobjectsimple.h File Reference

#include "kernel/static.h"
#include "kernel/iproperty.h"
#include "kernel/cobjectsimpleI.h"

Classes

struct  pdfobjects::PropertyTraitSimple< pNull >
struct  pdfobjects::PropertyTraitSimple< pBool >
struct  pdfobjects::PropertyTraitSimple< pInt >
struct  pdfobjects::PropertyTraitSimple< pReal >
struct  pdfobjects::PropertyTraitSimple< pString >
struct  pdfobjects::PropertyTraitSimple< pName >
struct  pdfobjects::PropertyTraitSimple< pRef >
class  pdfobjects::CObjectSimple< Tp >

Namespaces

namespace  pdfobjects
namespace  pdfobjects::utils

Typedefs

typedef CObjectSimple< pNull > pdfobjects::CNull
typedef CObjectSimple< pBool > pdfobjects::CBool
typedef CObjectSimple< pInt > pdfobjects::CInt
typedef CObjectSimple< pReal > pdfobjects::CReal
typedef CObjectSimple< pString > pdfobjects::CString
typedef CObjectSimple< pName > pdfobjects::CName
typedef CObjectSimple< pRef > pdfobjects::CRef

Functions

template<typename Iter >
std::string pdfobjects::utils::makeNamePdfValid (Iter it, Iter end)
std::string pdfobjects::utils::makeNamePdfValid (const char *str)
template<typename Iter >
std::string pdfobjects::utils::makeStringPdfValid (Iter it, Iter end)
std::string pdfobjects::utils::makeStringPdfValid (GString *str)
IProperty * pdfobjects::utils::createObjFromXpdfObj (boost::shared_ptr< CPdf > pdf, const ::Object &obj, const IndiRef &ref)
IProperty * pdfobjects::utils::createObjFromXpdfObj (const ::Object &obj)
template<PropertyType Tp, typename T >
void pdfobjects::utils::simpleValueFromXpdfObj (const ::Object &obj, T val)
template<PropertyType Tp, typename T >
Object * pdfobjects::utils::simpleValueToXpdfObj (T val)
::Object * pdfobjects::utils::xpdfObjFromString (const std::string &str,::XRef *xref=NULL)
void pdfobjects::utils::simpleValueFromString (const std::string &str, bool &val)
void pdfobjects::utils::simpleValueFromString (const std::string &str, int &val)
void pdfobjects::utils::simpleValueFromString (const std::string &str, double &val)
void pdfobjects::utils::simpleValueFromString (const std::string &str, std::string &val)
void pdfobjects::utils::simpleValueFromString (const std::string &str, IndiRef &val)
template<PropertyType Tp>
void pdfobjects::utils::simpleValueToString (bool val, std::string &str)
template<PropertyType Tp>
void pdfobjects::utils::simpleValueToString (int val, std::string &str)
template<PropertyType Tp>
void pdfobjects::utils::simpleValueToString (double val, std::string &str)
template<PropertyType Tp>
void pdfobjects::utils::simpleValueToString (const std::string &val, std::string &str)
template<PropertyType Tp>
void pdfobjects::utils::simpleValueToString (const NullType &val, std::string &str)
template<PropertyType Tp>
void pdfobjects::utils::simpleValueToString (const IndiRef &val, std::string &str)
void pdfobjects::utils::createIndirectObjectStringFromString (const IndiRef &rf, const std::string &val, std::string &output)
bool pdfobjects::utils::objHasParent (const IProperty &ip)
bool pdfobjects::utils::objHasParent (const IProperty &ip, boost::shared_ptr< IProperty > &indiObj)
boost::shared_ptr< IProperty > pdfobjects::utils::getReferencedObject (boost::shared_ptr< IProperty > ip)
template<typename ItemType , PropertyType ItemPType, typename Value >
Value pdfobjects::utils::getValueFromSimple (const boost::shared_ptr< IProperty > &ip) DEPRECATED
template<typename ItemType >
ItemType::Value pdfobjects::utils::getValueFromSimple (const boost::shared_ptr< IProperty > &ip)
int pdfobjects::utils::getIntFromIProperty (const boost::shared_ptr< IProperty > &ip)
double pdfobjects::utils::getDoubleFromIProperty (const boost::shared_ptr< IProperty > &ip)
std::string pdfobjects::utils::getStringFromIProperty (const boost::shared_ptr< IProperty > &ip)
std::string pdfobjects::utils::getNameFromIProperty (const boost::shared_ptr< IProperty > &ip)
template<typename ItemType , PropertyType ItemPType, typename Value >
void pdfobjects::utils::setValueToSimple (const boost::shared_ptr< IProperty > &ip, const Value &val)