aqnwb 0.4.0
Loading...
Searching...
No Matches
hdmf_experimental.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <array>
4#include <string>
5#include <string_view>
6#include <vector>
7
9
19{
20
21const std::string namespaceName = "hdmf-experimental";
22
23const std::string version = "0.6.0";
24
25// clang-format off
26constexpr std::string_view experimental = R"delimiter(
27{"groups":[],"datasets":[{"data_type_def":"EnumData","data_type_inc":"VectorData","dtype":"uint8","doc":"Data that come from a fixed set of values. A data value of i corresponds to the i-th value in the VectorData referenced by the 'elements' attribute.","attributes":[{"name":"elements","dtype":{"target_type":"VectorData","reftype":"object"},"doc":"Reference to the VectorData object that contains the enumerable elements."}]}]})delimiter";
28
29constexpr std::string_view namespaces = R"delimiter(
30{"namespaces":[{"name":"hdmf-experimental","doc":"Experimental data structures provided by HDMF. These are not guaranteed to be available in the future.","author":["Andrew Tritt","Oliver Ruebel","Ryan Ly","Ben Dichter","Matthew Avaylon"],"contact":["ajtritt@lbl.gov","oruebel@lbl.gov","rly@lbl.gov","bdichter@lbl.gov","mavaylon@lbl.gov"],"full_name":"HDMF Experimental","schema":[{"namespace":"hdmf-common"},{"source":"experimental"}],"version":"0.6.0"}]})delimiter";
31
32const std::vector<std::pair<std::string_view, std::string_view>>
34 {"experimental", experimental},
35 {"namespace", namespaces}
36}};
37
38// Register this namespace with the global registry
40// clang-format on
41
42} // namespace AQNWB::SPEC::HDMF_EXPERIMENTAL
#define REGISTER_NAMESPACE(name, version, specVariables)
Macro to register a namespace with the global registry.
Definition NamespaceRegistry.hpp:64
Namespace for the hdmf-experimental schema specification.
const std::string namespaceName
Definition hdmf_experimental.hpp:21
constexpr std::string_view namespaces
Definition hdmf_experimental.hpp:29
constexpr std::string_view experimental
Definition hdmf_experimental.hpp:26
const std::string version
Definition hdmf_experimental.hpp:23
const std::vector< std::pair< std::string_view, std::string_view > > specVariables
Definition hdmf_experimental.hpp:33