libnmbs 1.0.0
Loading...
Searching...
No Matches
binding_information.h
Go to the documentation of this file.
1
25
26#pragma once
27
28#include <optional>
29#include <string>
30#include <vector>
31
33
34namespace nmbs::binding
35{
42 {
47 {
50 std::optional<std::string> binding_profile;
51 };
52
57 {
60 std::string uri;
61
64 std::optional<std::string> content_type;
65 };
66
69 std::vector<ConfidentialityLabel> labels;
70
74
78 };
79}
Object representation of a Confidentiality Label as per ADatP-4774.
Functionality for the numerous binding profiles of ADatP-4778.
Definition binding.h:38
Holds a reference to the file to which the accompanying labels reference.
Definition binding_information.h:57
std::string uri
The URI identifying the target data file.
Definition binding_information.h:60
std::optional< std::string > content_type
The optional type of the uri.
Definition binding_information.h:64
Holder for nmbs internal metadata.
Definition binding_information.h:47
std::optional< std::string > binding_profile
The identified binding profile, populated during reading.
Definition binding_information.h:50
Holds information about both the labels, and the file the labels are bound to.
Definition binding_information.h:42
DataReference reference
The reference to the data file being labeled.
Definition binding_information.h:73
InternalMetadata internal_metadata
Internal library tracking data.
Definition binding_information.h:77
std::vector< ConfidentialityLabel > labels
The collection of confidentiality labels bound to the referenced data.
Definition binding_information.h:69