4#if defined(__APPLE__) || defined(__linux__)
5#define EXPORT_SYMBOL __attribute__((visibility("default")))
46 Metadata(std::size_t byteSize, std::string dataType, std::vector<std::size_t> dimensions,
bool debugFlag =
false);
52 [[nodiscard]] std::size_t
getByteSize() const noexcept;
64 [[nodiscard]] const std::
string&
getDataType() const noexcept;
76 [[nodiscard]] const std::vector<std::
size_t>&
getDimensions() const noexcept;
82 void setDimensions(const std::vector<std::
size_t>& dimensions);
103 friend std::ostream& operator<<(std::ostream& os, const
Metadata& metadata);
106 std::
size_t byteSize_ = 0;
107 std::
string dataType_;
108 std::vector<std::
size_t> dimensions_;
109 bool debugFlag_ = false;