5#include <iolink/Matrix.h>
6#include <iolink/Vector.h>
7#include <iolink/VectorX.h>
8#include <iolink/storage/StreamAccess.h>
9#include <iolink/view/DataFrameView.h>
10#include <iolink/view/ImageView.h>
38 static void encodeImageView(std::shared_ptr<ImageView> image, std::shared_ptr<StreamAccess> outStream);
52 static std::shared_ptr<ImageView>
decodeImageView(std::shared_ptr<StreamAccess> inStream);
423 static void encodeDataFrameView(std::shared_ptr<DataFrameView> dataFrame, std::shared_ptr<StreamAccess> outStream);
A multi dimensionnal array.
Definition: ArrayX.h:31
An arithmetic square matrix.
Definition: Matrix.h:21
Serialization class which provides methods to serialize and unserialize most of IOLink objects.
Definition: Serialization.h:20
static void encodeVector2i16(const Vector2i16 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector2 into a stream.
static Vector4i16 decodeVector4i16(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector4 from a stream.
static void encodeVector4i64(const Vector4i64 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector4 into a stream.
static void encodeVector2i64(const Vector2i64 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector2 into a stream.
static Vector3i8 decodeVector3i8(std::shared_ptr< StreamAccess > inStream)
Method to load a Vector3 which has been serialized into a stream.
static void encodeVectorXi16(const VectorXi16 &vect, std::shared_ptr< StreamAccess > inStream)
Factory to serialize a VectorX into a stream.
static void encodeArrayXi32(const ArrayXi32 &src, std::shared_ptr< StreamAccess > dst)
Serialize an Array into a stream.
static Vector3i16 decodeVector3i16(std::shared_ptr< StreamAccess > inStream)
Method to load a Vector3 which has been serialized into a stream.
static VectorXi8 decodeVectorXi8(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a VectorX from a stream.
static Vector3i32 decodeVector3i32(std::shared_ptr< StreamAccess > inStream)
Method to load a Vector3 which has been serialized into a stream.
static void encodeVectorXf(const VectorXf &vect, std::shared_ptr< StreamAccess > inStream)
Factory to serialize a VectorX into a stream.
static Vector2u64 decodeVector2u64(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector2 from a stream.
static VectorXu64 decodeVectorXu64(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a VectorX from a stream.
static void encodeVector4u32(const Vector4u32 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector4 into a stream.
static void encodeArrayXi64(const ArrayXi64 &src, std::shared_ptr< StreamAccess > dst)
Serialize an Array into a stream.
static Vector4i8 decodeVector4i8(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector4 from a stream.
static void encodeArrayXu16(const ArrayXu16 &src, std::shared_ptr< StreamAccess > dst)
Serialize an Array into a stream.
static Vector4u8 decodeVector4u8(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector4 from a stream.
static VectorXi64 decodeVectorXi64(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a VectorX from a stream.
static Matrix4d decodeMatrix4d(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Matrix from a stream.
static void encodeArrayXu8(const ArrayXu8 &src, std::shared_ptr< StreamAccess > dst)
Serialize an Array into a stream.
static ArrayXi8 decodeArrayXi8(std::shared_ptr< StreamAccess > src)
Decode an array from a stream.
static void encodeMatrix4d(const Matrix4d &mat, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Matrix into a stream.
static void encodeArrayXu32(const ArrayXu32 &src, std::shared_ptr< StreamAccess > dst)
Serialize an Array into a stream.
static ArrayXi32 decodeArrayXi32(std::shared_ptr< StreamAccess > src)
Decode an array from a stream.
static void encodeVectorXu64(const VectorXu64 &vect, std::shared_ptr< StreamAccess > inStream)
Factory to serialize a VectorX into a stream.
static void encodeVector4i32(const Vector4i32 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector4 into a stream.
static void encodeVectorXu16(const VectorXu16 &vect, std::shared_ptr< StreamAccess > inStream)
Factory to serialize a VectorX into a stream.
static void encodeVector3i16(const Vector3i16 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector3 into a stream.
static void encodeDataFrameView(std::shared_ptr< DataFrameView > dataFrame, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a DataFrameView into a stream.
static ArrayXf decodeArrayXf(std::shared_ptr< StreamAccess > src)
Decode an array from a stream.
static Vector4u64 decodeVector4u64(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector4 from a stream.
static Vector2i32 decodeVector2i32(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector2 from a stream.
static void encodeVector2u8(const Vector2u8 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector2 into a stream.
static void encodeVector3f(const Vector3f &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector3 into a stream.
static void encodeVectorXi64(const VectorXi64 &vect, std::shared_ptr< StreamAccess > inStream)
Factory to serialize a VectorX into a stream.
static void encodeArrayXi8(const ArrayXi8 &src, std::shared_ptr< StreamAccess > dst)
Serialize an Array into a stream.
static Vector4i32 decodeVector4i32(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector4 from a stream.
static void encodeVector3u64(const Vector3u64 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector3 into a stream.
static Vector3f decodeVector3f(std::shared_ptr< StreamAccess > inStream)
Method to load a Vector3 which has been serialized into a stream.
static void encodeVectorXu32(const VectorXu32 &vect, std::shared_ptr< StreamAccess > inStream)
Factory to serialize a VectorX into a stream.
static void encodeVector2d(const Vector2d &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector2 into a stream.
static ArrayXu16 decodeArrayXu16(std::shared_ptr< StreamAccess > src)
Decode an array from a stream.
static ArrayXu8 decodeArrayXu8(std::shared_ptr< StreamAccess > src)
Decode an array from a stream.
static void encodeVector3i8(const Vector3i8 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector3 into a stream.
static Vector3u16 decodeVector3u16(std::shared_ptr< StreamAccess > inStream)
Method to load a Vector3 which has been serialized into a stream.
static void encodeVector2f(const Vector2f &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector2 into a stream.
static Vector2i64 decodeVector2i64(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector2 from a stream.
static VectorXu32 decodeVectorXu32(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a VectorX from a stream.
static ArrayXi64 decodeArrayXi64(std::shared_ptr< StreamAccess > src)
Decode an array from a stream.
static Vector2u8 decodeVector2u8(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector2 from a stream.
static void encodeVector2i32(const Vector2i32 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector2 into a stream.
static void encodeVector4u16(const Vector4u16 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector4 into a stream.
static void encodeVector4f(const Vector4f &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector4 into a stream.
static VectorXu8 decodeVectorXu8(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a VectorX from a stream.
static VectorXi16 decodeVectorXi16(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a VectorX from a stream.
static Matrix3f decodeMatrix3f(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Matrix from a stream.
static void encodeVector2u32(const Vector2u32 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector2 into a stream.
static Vector2i8 decodeVector2i8(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector2 from a stream.
static void encodeVector3i64(const Vector3i64 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector3 into a stream.
static Vector4u16 decodeVector4u16(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector4 from a stream.
static void encodeImageView(std::shared_ptr< ImageView > image, std::shared_ptr< StreamAccess > outStream)
Factory to serialize an ImageView into a stream.
static Vector3u8 decodeVector3u8(std::shared_ptr< StreamAccess > inStream)
Method to load a Vector3 which has been serialized into a stream.
static void encodeVector3u16(const Vector3u16 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector3 into a stream.
static void encodeVector3u8(const Vector3u8 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector3 into a stream.
static ArrayXi16 decodeArrayXi16(std::shared_ptr< StreamAccess > src)
Decode an array from a stream.
static Matrix3d decodeMatrix3d(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Matrix from a stream.
static void encodeMatrix4f(const Matrix4f &mat, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Matrix into a stream.
static ArrayXu64 decodeArrayXu64(std::shared_ptr< StreamAccess > src)
Decode an array from a stream.
static std::shared_ptr< ImageView > decodeImageView(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize an ImageView from a stream.
static Vector4f decodeVector4f(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector4 from a stream.
static ArrayXd decodeArrayXd(std::shared_ptr< StreamAccess > src)
Decode an array from a stream.
static Vector3u32 decodeVector3u32(std::shared_ptr< StreamAccess > inStream)
Method to load a Vector3 which has been serialized into a stream.
static void encodeVectorXi8(const VectorXi8 &vect, std::shared_ptr< StreamAccess > inStream)
Factory to serialize a VectorX into a stream.
static void encodeVectorXd(const VectorXd &vect, std::shared_ptr< StreamAccess > inStream)
Factory to serialize a VectorX into a stream.
static Vector4d decodeVector4d(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector4 from a stream.
static void encodeMatrix3f(const Matrix3f &mat, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Matrix into a stream.
static VectorXf decodeVectorXf(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a VectorX from a stream.
static void encodeVector3u32(const Vector3u32 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector3 into a stream.
static void encodeVector2u16(const Vector2u16 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector2 into a stream.
static void encodeVector4d(const Vector4d &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector4 into a stream.
static void encodeVector4u64(const Vector4u64 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector4 into a stream.
static void encodeMatrix3d(const Matrix3d &mat, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Matrix into a stream.
static void encodeVector4i16(const Vector4i16 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector4 into a stream.
static Vector3i64 decodeVector3i64(std::shared_ptr< StreamAccess > inStream)
Method to load a Vector3 which has been serialized into a stream.
static Vector4u32 decodeVector4u32(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector4 from a stream.
static void encodeVector4i8(const Vector4i8 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector4 into a stream.
static Vector2i16 decodeVector2i16(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector2 from a stream.
static void encodeVector2i8(const Vector2i8 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector2 into a stream.
static VectorXd decodeVectorXd(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a VectorX from a stream.
static Vector2u32 decodeVector2u32(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector2 from a stream.
static Matrix4f decodeMatrix4f(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Matrix from a stream.
static void encodeArrayXu64(const ArrayXu64 &src, std::shared_ptr< StreamAccess > dst)
Serialize an Array into a stream.
static std::shared_ptr< DataFrameView > decodeDataFrameView(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a DataFrameView from a stream.
static ArrayXu32 decodeArrayXu32(std::shared_ptr< StreamAccess > src)
Decode an array from a stream.
static Vector2d decodeVector2d(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector2 from a stream.
static void encodeVector3i32(const Vector3i32 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector3 into a stream.
static void encodeVector3d(const Vector3d &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector3 into a stream.
static Vector2u16 decodeVector2u16(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector2 from a stream.
static void encodeVectorXi32(const VectorXi32 &vect, std::shared_ptr< StreamAccess > inStream)
Factory to serialize a VectorX into a stream.
static Vector2f decodeVector2f(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector2 from a stream.
static VectorXu16 decodeVectorXu16(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a VectorX from a stream.
static void encodeArrayXi16(const ArrayXi16 &src, std::shared_ptr< StreamAccess > dst)
Serialize an Array into a stream.
static void encodeArrayXf(const ArrayXf &src, std::shared_ptr< StreamAccess > dst)
Serialize an Array into a stream.
static void encodeVectorXu8(const VectorXu8 &vect, std::shared_ptr< StreamAccess > inStream)
Factory to serialize a VectorX into a stream.
static void encodeVector4u8(const Vector4u8 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector4 into a stream.
static VectorXi32 decodeVectorXi32(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a VectorX from a stream.
static void encodeArrayXd(const ArrayXd &src, std::shared_ptr< StreamAccess > dst)
Serialize an Array into a stream.
static Vector3d decodeVector3d(std::shared_ptr< StreamAccess > inStream)
Method to load a Vector3 which has been serialized into a stream.
static Vector4i64 decodeVector4i64(std::shared_ptr< StreamAccess > inStream)
Factory to unserialize a Vector4 from a stream.
static Vector3u64 decodeVector3u64(std::shared_ptr< StreamAccess > inStream)
Method to load a Vector3 which has been serialized into a stream.
static void encodeVector2u64(const Vector2u64 &vect, std::shared_ptr< StreamAccess > outStream)
Factory to serialize a Vector2 into a stream.
An arithmetic vector.
Definition: Vector.h:37
A dynamically sized arithmetic vector.
Definition: VectorX.h:18
All IOLink symbols are enclosed in this namespace.
Definition: ArrayX.h:8