aqnwb 0.1.0
Loading...
Searching...
No Matches
ElementIdentifiers.hpp
Go to the documentation of this file.
1#pragma once
2
5
6namespace AQNWB::NWB
7{
13{
14public:
15 // Register ElementIdentifiers class as a registered type
17
18
24 ElementIdentifiers(const std::string& path, std::shared_ptr<IO::BaseIO> io);
25
29 virtual ~ElementIdentifiers() override {}
30
33 DEFINE_DATASET_FIELD(readData, recordData, int, "", The main data)
34};
35} // namespace AQNWB::NWB
#define REGISTER_SUBCLASS(T, NAMESPACE)
Macro to register a subclass with the RegisteredType class registry.
Definition RegisteredType.hpp:410
#define DEFINE_DATASET_FIELD(readName, writeName, default_type, fieldPath, description)
Defines a lazy-loaded dataset field accessor function.
Definition RegisteredType.hpp:475
Data(const std::string &path, std::shared_ptr< IO::BaseIO > io)
Constructor.
Definition Data.cpp:9
virtual ~ElementIdentifiers() override
Virtual destructor.
Definition ElementIdentifiers.hpp:29
std::shared_ptr< IO::BaseRecordingData > recordData(bool reset=false)
std::unique_ptr< IO::ReadDataWrapper< DatasetField, VTYPE > > readData() const
ElementIdentifiers(const std::string &path, std::shared_ptr< IO::BaseIO > io)
Constructor.
Definition ElementIdentifiers.cpp:9
std::string m_path
The path of the registered type.
Definition RegisteredType.hpp:338
std::shared_ptr< IO::BaseIO > m_io
A shared pointer to the IO object.
Definition RegisteredType.hpp:343
Namespace for all classes related to the NWB data standard.
Definition TimeSeries.hpp:13
const std::string namespaceName
Definition hdmf_common.hpp:21