MIP SDK — C++ 1.18
API Reference Documentation for C++
Loading...
Searching...
No Matches
Action Class Referenceabstract

Interface for an action. Each action translates to a step that needs to be taken by the application to apply the label (as defined in the policy) More...

#include <mip/upe/action.h>

Inheritance diagram for Action:
AddContentFooterAction AddContentHeaderAction AddDynamicWatermarkAction AddWatermarkAction ApplyLabelAction CustomAction JustifyAction MetadataAction ProtectAdhocAction ProtectAdhocDkAction ProtectByEncryptOnlyAction ProtectByTemplateAction ProtectDoNotForwardAction ProtectDoNotForwardDkAction RecommendLabelAction RemoveContentFooterAction RemoveContentHeaderAction RemoveDynamicWatermarkAction RemoveProtectionAction RemoveWatermarkAction

Public Member Functions

virtual ActionType GetType () const =0
 Get the type of Action.
 
virtual ~Action ()
 
virtual void Link ()
 
virtual const std::string & GetId () const
 
virtual bool operator== (const Action &action) const
 

Protected Member Functions

virtual bool IsEqual (const Action &action) const =0
 
 Action ()
 
 Action (const std::string &id)
 

Private Attributes

std::string mId
 

Detailed Description

Interface for an action. Each action translates to a step that needs to be taken by the application to apply the label (as defined in the policy)

Constructor & Destructor Documentation

◆ ~Action()

virtual Action::~Action ( )
inlinevirtual

◆ Action() [1/2]

Action::Action ( )
inlineprotected

◆ Action() [2/2]

Action::Action ( const std::string & id)
inlineprotected

Member Function Documentation

◆ GetId()

virtual const std::string & Action::GetId ( ) const
inlinevirtual

◆ GetType()

virtual ActionType Action::GetType ( ) const
pure virtual

Get the type of Action.

Returns
ActionType The type of derived action this base class can be cast to.

◆ IsEqual()

virtual bool Action::IsEqual ( const Action & action) const
protectedpure virtual

◆ Link()

virtual void Action::Link ( )
inlinevirtual

◆ operator==()

virtual bool Action::operator== ( const Action & action) const
inlinevirtual

Member Data Documentation

◆ mId

std::string Action::mId
private

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