Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
Loading...
Searching...
No Matches
MsgInspector Class Referenceabstract

#include <msg_inspector.h>

Inheritance diagram for MsgInspector:
FileInspector

Public Member Functions

virtual const std::vector< uint8_t > & GetBody () const =0
 Get the body of the msg. if TXT/HTML formatted as utf8.
 
virtual unsigned int GetCodePage () const =0
 Get body encoding code page, relevant for txt, html body formats.
 
virtual BodyType GetBodyType () const =0
 Get body type.
 
virtual const std::vector< std::shared_ptr< MsgAttachmentData > > & GetAttachments () const =0
 Get a list of attachment as msg attachment data objects.
 
- Public Member Functions inherited from FileInspector
virtual InspectorType GetInspectorType () const =0
 Get file types,.
 
virtual std::shared_ptr< StreamGetFileStream () const =0
 Get the file stream.
 

Member Function Documentation

◆ GetAttachments()

virtual const std::vector< std::shared_ptr< MsgAttachmentData > > & MsgInspector::GetAttachments ( ) const
pure virtual

Get a list of attachment as msg attachment data objects.

Returns
a vector of std::unique_ptr<MsgAttachmentData>

◆ GetBody()

virtual const std::vector< uint8_t > & MsgInspector::GetBody ( ) const
pure virtual

Get the body of the msg. if TXT/HTML formatted as utf8.

Returns
a vector of bytes.

◆ GetBodyType()

virtual BodyType MsgInspector::GetBodyType ( ) const
pure virtual

Get body type.

Returns
the message's body type.

◆ GetCodePage()

virtual unsigned int MsgInspector::GetCodePage ( ) const
pure virtual

Get body encoding code page, relevant for txt, html body formats.

Returns
an unsigned code page.
See also
https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers

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