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
32
#include "
confidentiality_label.h
"
33
34
namespace
nmbs::binding
35
{
41
struct
BindingInformation
42
{
46
struct
InternalMetadata
47
{
50
std::optional<std::string>
binding_profile
;
51
};
52
56
struct
DataReference
57
{
60
std::string
uri
;
61
64
std::optional<std::string>
content_type
;
65
};
66
69
std::vector<ConfidentialityLabel>
labels
;
70
73
DataReference
reference
;
74
77
InternalMetadata
internal_metadata
;
78
};
79
}
confidentiality_label.h
Object representation of a Confidentiality Label as per ADatP-4774.
nmbs::binding
Functionality for the numerous binding profiles of ADatP-4778.
Definition
binding.h:38
nmbs::binding::BindingInformation::DataReference
Holds a reference to the file to which the accompanying labels reference.
Definition
binding_information.h:57
nmbs::binding::BindingInformation::DataReference::uri
std::string uri
The URI identifying the target data file.
Definition
binding_information.h:60
nmbs::binding::BindingInformation::DataReference::content_type
std::optional< std::string > content_type
The optional type of the uri.
Definition
binding_information.h:64
nmbs::binding::BindingInformation::InternalMetadata
Holder for nmbs internal metadata.
Definition
binding_information.h:47
nmbs::binding::BindingInformation::InternalMetadata::binding_profile
std::optional< std::string > binding_profile
The identified binding profile, populated during reading.
Definition
binding_information.h:50
nmbs::binding::BindingInformation
Holds information about both the labels, and the file the labels are bound to.
Definition
binding_information.h:42
nmbs::binding::BindingInformation::reference
DataReference reference
The reference to the data file being labeled.
Definition
binding_information.h:73
nmbs::binding::BindingInformation::internal_metadata
InternalMetadata internal_metadata
Internal library tracking data.
Definition
binding_information.h:77
nmbs::binding::BindingInformation::labels
std::vector< ConfidentialityLabel > labels
The collection of confidentiality labels bound to the referenced data.
Definition
binding_information.h:69
nmbs
binding_information.h
Generated by
1.15.0