aqnwb 0.1.0
Loading...
Searching...
No Matches
Types.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4#include <vector>
5
6namespace AQNWB
7{
8
9// Forward declaration of Channel
10class Channel;
11
15class Types
16{
17public:
21 enum Status
22 {
24 Failure = -1
25 };
26
30 using SizeType = size_t;
31
35 using SizeArray = std::vector<size_t>;
36
40 using ChannelVector = std::vector<Channel>;
41};
42} // namespace AQNWB
Provides definitions for various types used in the project.
Definition Types.hpp:16
std::vector< Channel > ChannelVector
Alias for a vector of channels.
Definition Types.hpp:40
Status
Represents the status of an operation.
Definition Types.hpp:22
@ Success
Definition Types.hpp:23
@ Failure
Definition Types.hpp:24
std::vector< size_t > SizeArray
Alias for an array of size types used in the project.
Definition Types.hpp:35
size_t SizeType
Alias for the size type used in the project.
Definition Types.hpp:30
The main namespace for AqNWB.