PoDoFo  1.0.0-dev
Public Member Functions | Friends | List of all members
PoDoFo::PdfDataProvider< T > Class Template Reference

An helper class to inherit to provide common serialization methods. More...

#include <PdfBaseDataTypes.h>

Public Member Functions

std::string ToString (PdfWriteFlags flags=PdfWriteFlags::None) const
 Converts the current object into a string representation which can be written directly to a PDF file on disc. More...
 
void ToString (std::string &str, PdfWriteFlags flags=PdfWriteFlags::None) const
 

Friends

class PdfDataContainer
 
class PdfData
 
class PdfString
 
class PdfName
 
class PdfReference
 

Detailed Description

template<typename T>
class PoDoFo::PdfDataProvider< T >

An helper class to inherit to provide common serialization methods.

See also
PdfName
PdfArray
PdfReference
PdfVariant
PdfDictionary
PdfString

Member Function Documentation

◆ ToString()

template<typename T >
std::string PoDoFo::PdfDataProvider< T >::ToString ( PdfWriteFlags  flags = PdfWriteFlags::None) const
inline

Converts the current object into a string representation which can be written directly to a PDF file on disc.

Parameters
strthe object string is returned in this object.

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