Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
MsgInspector Class Referenceabstract

#include <src/api/mip/file/msg_inspector.h>

+ Inheritance diagram for MsgInspector:
+ Collaboration diagram for MsgInspector:

Public Member Functions

virtual const std::vector< std::shared_ptr< MsgAttachmentData > > & GetAttachments () const =0
 Get a list of attachment as msg attachment data objects.
 
virtual const std::vector< uint8_t > & GetBody () const =0
 Get the body of the msg.
 
virtual BodyType GetBodyType () const =0
 Get body type.
 
virtual unsigned int GetCodePage () const =0
 Get body encoding code page, relevant for txt, html body formats.
 
virtual std::shared_ptr< StreamGetFileStream () const =0
 Get the file stream.
 
virtual InspectorType GetInspectorType () const =0
 Get file types,.
 

Detailed Description

Definition at line 80 of file msg_inspector.h.

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

◆ GetFileStream()

virtual std::shared_ptr< Stream > FileInspector::GetFileStream ( ) const
pure virtualinherited

Get the file stream.

Returns
a shared ptr to the file stream.

◆ GetInspectorType()

virtual InspectorType FileInspector::GetInspectorType ( ) const
pure virtualinherited

Get file types,.

Returns
InspectorType.

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