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

Apply label actions requires the calling application to apply a specific label. More...

#include <mip/upe/apply_label_action.h>

Inheritance diagram for ApplyLabelAction:
Action

Public Member Functions

virtual const std::shared_ptr< Label > & GetLabel () const =0
 Get the label required.
 
virtual const std::vector< std::string > & GetClassificationIds () const =0
 Get the Classification IDs that matched and caused this label to appear.
 
virtual ~ApplyLabelAction ()
 
- Public Member Functions inherited from Action
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

 ApplyLabelAction (const std::string &id)
 
- Protected Member Functions inherited from Action
virtual bool IsEqual (const Action &action) const =0
 
 Action ()
 
 Action (const std::string &id)
 

Detailed Description

Apply label actions requires the calling application to apply a specific label.

Constructor & Destructor Documentation

◆ ~ApplyLabelAction()

virtual ApplyLabelAction::~ApplyLabelAction ( )
inlinevirtual

◆ ApplyLabelAction()

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

Member Function Documentation

◆ GetClassificationIds()

virtual const std::vector< std::string > & ApplyLabelAction::GetClassificationIds ( ) const
pure virtual

Get the Classification IDs that matched and caused this label to appear.

Returns
const std::vector<std::string>& a list of classification IDs that caused this label to appear.

◆ GetLabel()

virtual const std::shared_ptr< Label > & ApplyLabelAction::GetLabel ( ) const
pure virtual

Get the label required.

Returns
the label.

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