|
libnmbs 1.0.0
|
The intended "include all" header file for libnmbs. More...
#include <string>#include <filesystem>#include "binding.h"#include "confidentiality_label.h"#include "binding_information.h"#include "expected.h"Go to the source code of this file.
Namespaces | |
| namespace | nmbs |
| Lightweight helpers for generating NATO confidentiality metadata. | |
Functions | |
| std::string_view | nmbs::version () noexcept |
| Returns the semantic version of the library. | |
| void | nmbs::cleanup () |
| Free up any allocated memory and state to keep tools like Valgrind clean. | |
| Expected< std::string > | nmbs::write_labels (const std::filesystem::path &path, const std::vector< ConfidentialityLabel > &confidentiality_labels, std::optional< binding::ProfileSupport > binding_support=std::nullopt) |
| Writes ADatP‑4778 binding information using the best possible binding profile. | |
| Expected< std::optional< binding::BindingInformation > > | nmbs::read_binding (const std::filesystem::path &path, std::optional< binding::ProfileSupport > binding_support=std::nullopt) |
| Reads the full ADatP-4778 binding from the file. | |
| Expected< std::optional< std::string > > | nmbs::read_binding_xml (const std::filesystem::path &path, std::optional< binding::ProfileSupport > binding_support=std::nullopt) |
| Reads the full ADatP-4778 binding from the file. | |
| Expected< void > | nmbs::remove_binding (const std::filesystem::path &path, std::optional< binding::ProfileSupport > binding_support=std::nullopt) |
| Removes the ADatP-4778 binding from the file. | |
The intended "include all" header file for libnmbs.
This file will include all the available nmbs namespace. Use it as single import to work with the nmbs namespace.