Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
Loading...
Searching...
No Matches
action_data.h
Go to the documentation of this file.
1#ifndef UPE_CORE_API_DTO_ACTION_DATA_H_
2#define UPE_CORE_API_DTO_ACTION_DATA_H_
3
4#include <map>
5#include <string>
6#include <vector>
7
8#include "mip/common_types.h"
9#include "mip/mip_namespace.h"
11
12MIP_NAMESPACE_BEGIN
13
14enum class ActionDataType : unsigned int {
15 Custom, // Default
19 Label,
21};
22
24public:
25 virtual ActionDataType GetType() const = 0;
26 virtual const std::map<std::string, std::string, CaseInsensitiveComparator>& GetProperties() const = 0;
27 virtual std::string GetArgumentValue(const std::string& key) const = 0;
28 virtual const std::string& GetName() const = 0;
29 virtual std::vector<std::pair<std::string, std::string>> GetArguments() const = 0;
30 virtual ~ActionData() {}
31};
32
33MIP_NAMESPACE_END
34
35#endif // UPE_CORE_API_DTO_ACTION_DATA_H_
ActionDataType
Definition action_data.h:14
Definition action_data.h:23
virtual std::vector< std::pair< std::string, std::string > > GetArguments() const =0
virtual std::string GetArgumentValue(const std::string &key) const =0
virtual ActionDataType GetType() const =0
virtual ~ActionData()
Definition action_data.h:30
virtual const std::string & GetName() const =0
virtual const std::map< std::string, std::string, CaseInsensitiveComparator > & GetProperties() const =0
A file Containing the common types used by the upe, file and protection modules.
MIP namespace macros.