58 const std::shared_ptr<AQNWB::NWB::RegisteredType>&
object);
75 const std::string& path)
const;
85 const std::shared_ptr<const AQNWB::NWB::RegisteredType>&
object)
const;
AQNWB::Types::Status Status
Definition BaseIO.hpp:21
AQNWB::Types::SizeType SizeType
Definition Channel.hpp:8
SizeType addRecordingObject(const std::shared_ptr< AQNWB::NWB::RegisteredType > &object)
Adds a RegisteredType object to the recording objects collection.
Definition RecordingObjects.cpp:35
~RecordingObjects()
Destructor for RecordingObjects class.
Definition RecordingObjects.cpp:20
std::string toString() const
Create a string representation of the RecordingObjects contents.
Definition RecordingObjects.cpp:95
std::vector< std::shared_ptr< AQNWB::NWB::RegisteredType > > m_recording_objects
The RegisteredType objects used for recording.
Definition RecordingObjects.hpp:119
std::shared_ptr< AQNWB::NWB::RegisteredType > getRecordingObject(const SizeType &objectInd)
Gets the RegisteredType object from the recording objects collection.
Definition RecordingObjects.cpp:62
void clear()
Clear the recording objects collection.
Definition RecordingObjects.hpp:90
SizeType getRecordingIndex(const std::shared_ptr< const AQNWB::NWB::RegisteredType > &object) const
Finds the index of a RegisteredType object in the recording objects collection.
Definition RecordingObjects.cpp:22
RecordingObjects()
Constructor for RecordingObjects class.
Definition RecordingObjects.cpp:18
Status finalize()
Finalize all RegisteredType objects managed by this RecordingObjects instance. This method calls fina...
Definition RecordingObjects.cpp:81
RecordingObjects(const RecordingObjects &)=delete
Deleted copy constructor to prevent construction-copying.
std::string m_name
The name of the collection of recording objects.
Definition RecordingObjects.hpp:129
std::map< std::string, SizeType > m_path_to_index
Map from object path to its index in m_recording_objects.
Definition RecordingObjects.hpp:124
RecordingObjects & operator=(const RecordingObjects &)=delete
Deleted copy assignment operator to prevent copying.
SizeType size() const
Get the number of recording objects.
Definition RecordingObjects.hpp:106
Base class for types defined in the NWB schema.
Definition RegisteredType.hpp:48
The namespace for IO components of AqNWB.
Namespace for all classes related to the NWB data standard.