aqnwb 0.1.0
Loading...
Searching...
No Matches
Container.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4#include <string>
5
6#include "BaseIO.hpp"
7
8namespace AQNWB::NWB
9{
15{
16public:
22 Container(const std::string& path, std::shared_ptr<BaseIO> io);
23
27 virtual ~Container();
28
32 void initialize();
33
38 inline std::string getPath() const { return m_path; }
39
40protected:
44 std::string m_path;
45
49 std::shared_ptr<BaseIO> m_io;
50};
51} // namespace AQNWB::NWB
Abstract data type for a group storing collections of data and metadata.
Definition Container.hpp:15
std::shared_ptr< BaseIO > m_io
A shared pointer to the IO object.
Definition Container.hpp:49
void initialize()
Initialize the container.
Definition Container.cpp:18
std::string m_path
The path of the container.
Definition Container.hpp:44
Container(const std::string &path, std::shared_ptr< BaseIO > io)
Constructor.
Definition Container.cpp:8
std::string getPath() const
Gets the path of the container.
Definition Container.hpp:38
virtual ~Container()
Destructor.
Definition Container.cpp:15
Namespace for all classes related to the NWB data standard.
Definition TimeSeries.hpp:9