91 template<StorageObjectType T>
93 : std::integral_constant<bool, (T == Dataset || T == Attribute)>
106 (std::numeric_limits<SizeType>::max)();
132 std::vector<std::pair<std::string_view, std::string_view>>
Class for storing acquisition system channel information.
Definition Channel.hpp:16
Provides definitions for various types used in the project.
Definition Types.hpp:19
std::vector< Channel > ChannelVector
Alias for a vector of channels.
Definition Types.hpp:116
static constexpr SizeType SizeTypeNotSet
Value to use to indicate that a SizeType index is not set.
Definition Types.hpp:105
StorageObjectType
Types of object used in the NWB schema.
Definition Types.hpp:56
@ Attribute
Definition Types.hpp:59
@ Group
Definition Types.hpp:57
@ Dataset
Definition Types.hpp:58
@ Undefined
Definition Types.hpp:60
friend Status operator&&(Status lhs, Status rhs)
Overloaded && operator for Status enum.
Definition Types.hpp:36
friend Status operator||(Status lhs, Status rhs)
Overloaded || operator for Status enum.
Definition Types.hpp:47
Status
Represents the status of an operation.
Definition Types.hpp:25
@ Success
Definition Types.hpp:26
@ Failure
Definition Types.hpp:27
static std::string storageObjectTypeToString(StorageObjectType type)
Convert StorageObjectType enum value to string.
Definition Types.hpp:68
std::vector< SizeType > SizeArray
Alias for an array of size types used in the project.
Definition Types.hpp:111
size_t SizeType
Alias for the size type used in the project.
Definition Types.hpp:100
The main namespace for AqNWB.
Definition Channel.hpp:11
Helper struct to check if a value is a data field, i.e., Dataset or Attribute.
Definition Types.hpp:94
Struct to hold namespace information.
Definition Types.hpp:122
std::string name
The name of the namespace.
Definition Types.hpp:123
std::string version
The version of the namespace.
Definition Types.hpp:124
std::vector< std::pair< std::string_view, std::string_view > > specVariables
The specVariables of the namespace.
Definition Types.hpp:133