poppler::embedded_file Class Reference

Represents a file embedded in a PDF document. More...

#include "poppler/cpp/poppler-embedded-file.h"

Inheritance diagram for poppler::embedded_file:
[legend]

List of all members.

Public Member Functions

 ~embedded_file ()
byte_array checksum () const
time_type creation_date () const
byte_array data () const
ustring description () const
bool is_valid () const
std::string mime_type () const
time_type modification_date () const
std::string name () const
int size () const

Detailed Description

Represents a file embedded in a PDF document.


Constructor & Destructor Documentation

embedded_file::~embedded_file (  ) 

Destroys the embedded file.


Member Function Documentation

byte_array embedded_file::checksum (  )  const
Returns:
the checksum of the embedded file
time_type embedded_file::creation_date (  )  const
Returns:
the time_t representing the creation date of the embedded file, if available
byte_array embedded_file::data (  )  const

Reads all the data of the embedded file.

Returns:
the data of the embedded file
ustring embedded_file::description (  )  const
Returns:
the description of the embedded file
bool embedded_file::is_valid (  )  const
Returns:
whether the embedded file is valid
std::string embedded_file::mime_type (  )  const
Returns:
the MIME type of the embedded file, if available
time_type embedded_file::modification_date (  )  const
Returns:
the time_t representing the modification date of the embedded file, if available
std::string embedded_file::name (  )  const
Returns:
the name of the embedded file
int embedded_file::size (  )  const
Note:
this is not always available in the PDF document, in that case this will return -1.
Returns:
the size of the embedded file, if known

Generated on 27 Dec 2015 for Poppler CPP by  doxygen 1.6.1