25 Data(
const std::string& path, std::shared_ptr<IO::BaseIO> io);
40 void initialize(std::unique_ptr<IO::BaseRecordingData>&& dataset);
62 The name of the
namespace)
#define REGISTER_SUBCLASS(T, NAMESPACE)
Macro to register a subclass with the RegisteredType class registry.
Definition RegisteredType.hpp:321
#define DEFINE_FIELD(name, storageObjectType, default_type, fieldPath, description)
Defines a lazy-loaded field accessor function.
Definition RegisteredType.hpp:355
~Data()
Destructor.
Definition Data.hpp:30
bool isInitialized()
Check whether the m_dataset has been initialized.
Definition Data.hpp:45
void initialize(std::unique_ptr< IO::BaseRecordingData > &&dataset)
Initialize the dataset for the Data object.
Definition Data.cpp:15
std::unique_ptr< IO::ReadDataWrapper< AttributeField, VTYPE > > readNeurodataType() const
std::unique_ptr< IO::ReadDataWrapper< AttributeField, VTYPE > > readNamespace() const
std::unique_ptr< IO::BaseRecordingData > m_dataset
Definition Data.hpp:47
Data(const std::string &path, std::shared_ptr< IO::BaseIO > io)
Constructor.
Definition Data.cpp:10
std::unique_ptr< IO::ReadDataWrapper< DatasetField, VTYPE > > readData() const
RegisteredType(const std::string &path, std::shared_ptr< IO::BaseIO > io)
Constructor.
Definition RegisteredType.cpp:8
Namespace for all classes related to the NWB data standard.
Definition TimeSeries.hpp:12
constexpr auto AttributeField
Alias for AQNWB::Types::StorageObjectType::Attribute.
Definition RegisteredType.hpp:22
constexpr auto DatasetField
Alias for AQNWB::Types::StorageObjectType::Dataset.
Definition RegisteredType.hpp:27