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

#include <msg_inspector.h>

Public Member Functions

virtual const std::vector< uint8_t > & GetBytes ()=0
 Get attachment as a binary byte vector.
 
virtual std::shared_ptr< StreamGetStream () const =0
 Get attachment as a binary stream.
 
virtual const std::string & GetName () const =0
 Get attachment name as a string.
 
virtual const std::string & GetLongName () const =0
 Get attachment long name as a string.
 
virtual const std::string & GetPath () const =0
 Get attachment path name as a string. if path not empty then reference attachment.
 
virtual const std::string & GetLongPath () const =0
 Get attachment long path name as a string. if path not empty then reference attachment.
 
virtual const std::string & GetContentId () const =0
 Get attachment content ID as a string.
 
virtual const uint32_t & GetCodePage () const =0
 Get the code page of the attachment.
 

Member Function Documentation

◆ GetBytes()

virtual const std::vector< uint8_t > & MsgAttachmentData::GetBytes ( )
pure virtual

Get attachment as a binary byte vector.

◆ GetCodePage()

virtual const uint32_t & MsgAttachmentData::GetCodePage ( ) const
pure virtual

Get the code page of the attachment.

◆ GetContentId()

virtual const std::string & MsgAttachmentData::GetContentId ( ) const
pure virtual

Get attachment content ID as a string.

◆ GetLongName()

virtual const std::string & MsgAttachmentData::GetLongName ( ) const
pure virtual

Get attachment long name as a string.

◆ GetLongPath()

virtual const std::string & MsgAttachmentData::GetLongPath ( ) const
pure virtual

Get attachment long path name as a string. if path not empty then reference attachment.

◆ GetName()

virtual const std::string & MsgAttachmentData::GetName ( ) const
pure virtual

Get attachment name as a string.

◆ GetPath()

virtual const std::string & MsgAttachmentData::GetPath ( ) const
pure virtual

Get attachment path name as a string. if path not empty then reference attachment.

◆ GetStream()

virtual std::shared_ptr< Stream > MsgAttachmentData::GetStream ( ) const
pure virtual

Get attachment as a binary stream.


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