aqnwb 0.1.0
Loading...
Searching...
No Matches
ElementIdentifiers.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace AQNWB::NWB
6{
12{
13public:
14 // Register ElementIdentifiers class as a registered type
16
17
23 ElementIdentifiers(const std::string& path, std::shared_ptr<IO::BaseIO> io);
24
28 virtual ~ElementIdentifiers() override {}
29
32 DEFINE_FIELD(readData, DatasetField, int, "", The main data)
33};
34} // namespace AQNWB::NWB
#define REGISTER_SUBCLASS(T, NAMESPACE)
Macro to register a subclass with the RegisteredType class registry.
Definition RegisteredType.hpp:373
#define DEFINE_FIELD(name, storageObjectType, default_type, fieldPath, description)
Defines a lazy-loaded field accessor function.
Definition RegisteredType.hpp:407
Data(const std::string &path, std::shared_ptr< IO::BaseIO > io)
Constructor.
Definition Data.cpp:9
virtual ~ElementIdentifiers() override
Virtual destructor.
Definition ElementIdentifiers.hpp:28
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:318
std::shared_ptr< IO::BaseIO > m_io
A shared pointer to the IO object.
Definition RegisteredType.hpp:323
Namespace for all classes related to the NWB data standard.
Definition TimeSeries.hpp:12
constexpr auto DatasetField
Alias for AQNWB::Types::StorageObjectType::Dataset.
Definition RegisteredType.hpp:28