aqnwb 0.4.0
Loading...
Searching...
No Matches
Types.hpp File Reference
#include <cstddef>
#include <cstdint>
#include <limits>
#include <string>
#include <string_view>
#include <type_traits>
#include <unordered_map>
#include <utility>
#include <variant>
#include <vector>
Include dependency graph for Types.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AQNWB::Types::IsDataStorageObjectType< T >
 Helper struct to check if a value is a data field, i.e., Dataset or Attribute. More...
struct  AQNWB::Types::NamespaceInfo
 Struct to hold namespace information. More...
struct  AQNWB::Types::CellValue
 Represents a single cell value in a DynamicTable row. More...

Namespaces

namespace  AQNWB
 The main namespace for AqNWB.
namespace  AQNWB::Types
 Provides definitions for various types used in the project.

Typedefs

using AQNWB::Types::SizeType = size_t
 Alias for the size type used in the project.
using AQNWB::Types::SizeArray = std::vector<SizeType>
 Alias for an array of size types used in the project.
using AQNWB::Types::ChannelVector = std::vector<Channel>
 Alias for a vector of channels.
using AQNWB::Types::ScalarDataVariant
 Variant data type for representing a single scalar value.
using AQNWB::Types::VectorDataVariant
 Variant data type for representing any 1D vector of scalar values.
using AQNWB::Types::RowData = std::unordered_map<std::string, CellValue>
 Represents a row of data in a DynamicTable.

Enumerations

enum  AQNWB::Types::Status { AQNWB::Types::Success = 1 , AQNWB::Types::Failure = -1 }
 Represents the status of an operation. More...
enum  AQNWB::Types::StorageObjectType { AQNWB::Types::Group = 0 , AQNWB::Types::Dataset = 1 , AQNWB::Types::Attribute = 2 , AQNWB::Types::Undefined = -1 }
 Types of object used in the NWB schema. More...

Functions

Status AQNWB::Types::operator&& (Status lhs, Status rhs)
 Overloaded && operator for Status enum.
Status AQNWB::Types::operator|| (Status lhs, Status rhs)
 Overloaded || operator for Status enum.
std::string AQNWB::Types::storageObjectTypeToString (StorageObjectType type)
 Convert StorageObjectType enum value to string.

Variables

constexpr SizeType AQNWB::Types::SizeTypeNotSet
 Value to use to indicate that a SizeType index is not set.