Class to handle the manifest.xml file. More...
#include <ODi_ManifestStream_ListenerState.h>
Public Member Functions | |
ODi_ManifestStream_ListenerState (ODi_ElementStack &rElementStack, std::map< std::string, ODc_CryptoInfo > &cryptoInfo) | |
Constructor. | |
virtual | ~ODi_ManifestStream_ListenerState () |
Destructor. | |
void | startElement (const gchar *pName, const gchar **ppAtts, ODi_ListenerStateAction &rAction) |
Called to signal that the start tag of an element has been reached. | |
void | endElement (const gchar *pName, ODi_ListenerStateAction &rAction) |
Called to signal that the end tag of an element has been reached. | |
void | charData (const gchar *, int) |
Private Attributes | |
std::string | m_sFullPath |
UT_sint64 | m_iSize |
ODc_CryptoInfo * | m_pCryptoInfo |
std::map< std::string, ODc_CryptoInfo > & | m_cryptoInfo |
Class to handle the manifest.xml file.
ODi_ManifestStream_ListenerState::ODi_ManifestStream_ListenerState | ( | ODi_ElementStack & | rElementStack, | |
std::map< std::string, ODc_CryptoInfo > & | cryptoInfo | |||
) |
Constructor.
ODi_ManifestStream_ListenerState::~ODi_ManifestStream_ListenerState | ( | ) | [virtual] |
Destructor.
References DELETEP, and m_pCryptoInfo.
void ODi_ManifestStream_ListenerState::charData | ( | const gchar * | , | |
int | ||||
) | [inline, virtual] |
Implements ODi_ListenerState.
void ODi_ManifestStream_ListenerState::endElement | ( | const gchar * | pName, | |
ODi_ListenerStateAction & | rAction | |||
) | [virtual] |
Called to signal that the end tag of an element has been reached.
Implements ODi_ListenerState.
References DELETEP, m_cryptoInfo, ODc_CryptoInfo::m_decryptedSize, m_iSize, m_pCryptoInfo, m_sFullPath, ODi_ListenerStateAction::popState(), and UT_return_if_fail.
void ODi_ManifestStream_ListenerState::startElement | ( | const gchar * | pName, | |
const gchar ** | ppAtts, | |||
ODi_ListenerStateAction & | rAction | |||
) | [virtual] |
Called to signal that the start tag of an element has been reached.
Implements ODi_ListenerState.
References DELETEP, ODc_CryptoInfo::m_algorithm, ODc_CryptoInfo::m_initVector, m_iSize, ODc_CryptoInfo::m_iterCount, ODc_CryptoInfo::m_keyType, m_pCryptoInfo, ODc_CryptoInfo::m_salt, m_sFullPath, UT_getAttribute(), and UT_return_if_fail.
std::map<std::string, ODc_CryptoInfo>& ODi_ManifestStream_ListenerState::m_cryptoInfo [private] |
Referenced by endElement().
Referenced by endElement(), and startElement().
Referenced by endElement(), startElement(), and ~ODi_ManifestStream_ListenerState().
std::string ODi_ManifestStream_ListenerState::m_sFullPath [private] |
Referenced by endElement(), and startElement().