#include <WPXHeader.h>
Public Member Functions | |
WPXHeader (WPXInputStream *input, uint32_t documentOffset, uint8_t productType, uint8_t fileType, uint8_t majorVersion, uint8_t minorVersion, uint16_t documentEncryption) | |
virtual | ~WPXHeader () |
const uint32_t | getDocumentOffset () const |
const uint8_t | getProductType () const |
const uint8_t | getFileType () const |
const uint8_t | getMajorVersion () const |
const uint8_t | getMinorVersion () const |
const uint16_t | getDocumentEncryption () const |
Static Public Member Functions | |
static WPXHeader * | constructHeader (WPXInputStream *input) |
Private Attributes | |
uint32_t | m_documentOffset |
uint8_t | m_productType |
uint8_t | m_fileType |
uint8_t | m_majorVersion |
uint8_t | m_minorVersion |
uint16_t | m_documentEncryption |
WPXHeader::WPXHeader | ( | WPXInputStream * | input, | |
uint32_t | documentOffset, | |||
uint8_t | productType, | |||
uint8_t | fileType, | |||
uint8_t | majorVersion, | |||
uint8_t | minorVersion, | |||
uint16_t | documentEncryption | |||
) |
WPXHeader::~WPXHeader | ( | ) | [virtual] |
WPXHeader * WPXHeader::constructHeader | ( | WPXInputStream * | input | ) | [static] |
Referenced by WPDocument::isFileFormatSupported(), and WPDocument::parse().
const uint16_t WPXHeader::getDocumentEncryption | ( | ) | const [inline] |
Referenced by WPDocument::isFileFormatSupported(), WPDocument::parse(), and WP6Header::WP6Header().
const uint32_t WPXHeader::getDocumentOffset | ( | ) | const [inline] |
const uint8_t WPXHeader::getFileType | ( | ) | const [inline] |
Referenced by WPDocument::isFileFormatSupported(), and WPDocument::parse().
const uint8_t WPXHeader::getMajorVersion | ( | ) | const [inline] |
Referenced by WPDocument::isFileFormatSupported(), and WPDocument::parse().
const uint8_t WPXHeader::getMinorVersion | ( | ) | const [inline] |
const uint8_t WPXHeader::getProductType | ( | ) | const [inline] |
uint16_t WPXHeader::m_documentEncryption [private] |
Referenced by getDocumentEncryption().
uint32_t WPXHeader::m_documentOffset [private] |
Referenced by getDocumentOffset().
uint8_t WPXHeader::m_fileType [private] |
Referenced by getFileType().
uint8_t WPXHeader::m_majorVersion [private] |
Referenced by getMajorVersion().
uint8_t WPXHeader::m_minorVersion [private] |
Referenced by getMinorVersion().
uint8_t WPXHeader::m_productType [private] |
Referenced by getProductType().