BinaryStream

List of significant binary streams used to exchange data through pin/ports. More...

Classes

class  mimmo::IBinaryStream
 mimmo custom derivation of bitpit IBinaryStream (see relative doc) More...
 
class  mimmo::OBinaryStream
 mimmo custom derivation of bitpit OBinaryStream (see relative doc) More...
 
mimmo::IBinaryStreamoperator>> (mimmo::IBinaryStream &buf, std::string &element)
 
mimmo::OBinaryStreamoperator<< (mimmo::OBinaryStream &buf, const std::string &element)
 
template<typename T >
mimmo::IBinaryStreamoperator>> (mimmo::IBinaryStream &buf, std::vector< T > &element)
 
template<typename T >
mimmo::OBinaryStreamoperator<< (mimmo::OBinaryStream &buf, const std::vector< T > &element)
 
template<typename T , std::size_t d>
mimmo::IBinaryStreamoperator>> (mimmo::IBinaryStream &buf, std::array< T, d > &element)
 
template<typename T , std::size_t d>
mimmo::OBinaryStreamoperator<< (mimmo::OBinaryStream &buf, const std::array< T, d > &element)
 
template<typename T , typename Q >
mimmo::IBinaryStreamoperator>> (mimmo::IBinaryStream &buf, std::pair< T, Q > &element)
 
template<typename T , typename Q >
mimmo::OBinaryStreamoperator<< (mimmo::OBinaryStream &buf, const std::pair< T, Q > &element)
 
template<typename T , typename Q >
mimmo::IBinaryStreamoperator>> (mimmo::IBinaryStream &buf, std::unordered_map< T, Q > &element)
 
template<typename T , typename Q >
mimmo::OBinaryStreamoperator<< (mimmo::OBinaryStream &buf, const std::unordered_map< T, Q > &element)
 
template<typename T , typename Q >
mimmo::IBinaryStreamoperator>> (mimmo::IBinaryStream &buf, std::map< T, Q > &element)
 
template<typename T , typename Q >
mimmo::OBinaryStreamoperator<< (mimmo::OBinaryStream &buf, const std::map< T, Q > &element)
 
mimmo::IBinaryStreamoperator>> (mimmo::IBinaryStream &buf, mimmo::CoordType &element)
 
mimmo::OBinaryStreamoperator<< (mimmo::OBinaryStream &buf, const mimmo::CoordType &element)
 
mimmo::IBinaryStreamoperator>> (mimmo::IBinaryStream &buf, mimmo::ShapeType &element)
 
mimmo::OBinaryStreamoperator<< (mimmo::OBinaryStream &buf, const mimmo::ShapeType &element)
 
mimmo::IBinaryStreamoperator>> (mimmo::IBinaryStream &buf, mimmo::FileDataInfo &element)
 
mimmo::OBinaryStreamoperator<< (mimmo::OBinaryStream &buf, const mimmo::FileDataInfo &element)
 
template<typename T >
mimmo::IBinaryStreamoperator>> (mimmo::IBinaryStream &buf, mimmo::MimmoPiercedVector< T > &element)
 
template<typename T >
mimmo::OBinaryStreamoperator<< (mimmo::OBinaryStream &buf, const mimmo::MimmoPiercedVector< T > &element)
 
template<class T >
mimmo::IBinaryStreamoperator>> (mimmo::IBinaryStream &buffer, mimmo::MimmoSharedPointer< T > &element)
 
template<class T >
mimmo::OBinaryStreamoperator<< (mimmo::OBinaryStream &buffer, const mimmo::MimmoSharedPointer< T > &element)
 

Detailed Description

List of significant binary streams used to exchange data through pin/ports.

Function Documentation

◆ operator<<() [1/11]

mimmo::OBinaryStream& operator<< ( mimmo::OBinaryStream buffer,
const mimmo::CoordType var 
)

Output stream operator for mimmo::CoordType enum

Parameters
[in]bufferis the output stream
[in]varis the element to be streamed
Returns
Returns the same output stream received in input.

Definition at line 64 of file BasicShapes.cpp.

◆ operator<<() [2/11]

mimmo::OBinaryStream& operator<< ( mimmo::OBinaryStream buffer,
const mimmo::FileDataInfo var 
)

Output stream operator for mimmo::FileDataInfo

Parameters
[in]bufferis the output stream
[in]varis the element to be streamed
Returns
Returns the same output stream received in input.

Definition at line 31 of file MimmoNamespace.cpp.

◆ operator<<() [3/11]

template<typename T >
mimmo::OBinaryStream& operator<< ( mimmo::OBinaryStream buffer,
const mimmo::MimmoPiercedVector< T > &  element 
)

Output stream operator for bitpit::MimmoPiercedVector< T >

Parameters
[in]bufferis the output stream
[in]elementis the element to be streamed
Returns
Returns the same output stream received in input.

Definition at line 66 of file MimmoPiercedVector.tpp.

◆ operator<<() [4/11]

mimmo::OBinaryStream& operator<< ( mimmo::OBinaryStream buffer,
const mimmo::ShapeType var 
)

Output stream operator for mimmo::ShapeType enum

Parameters
[in]bufferis the output stream
[in]varis the element to be streamed
Returns
Returns the same output stream received in input.

Definition at line 37 of file BasicShapes.cpp.

◆ operator<<() [5/11]

template<typename T , std::size_t d>
mimmo::OBinaryStream& operator<< ( mimmo::OBinaryStream buffer,
const std::array< T, d > &  var 
)

Output stream operator for std::array<T,d> enum

Parameters
[in]bufferis the output stream
[in]varis the element to be streamed
Returns
Returns the same output stream received in input.

Definition at line 73 of file mimmo_binary_stream.tpp.

◆ operator<<() [6/11]

template<typename T , typename Q >
mimmo::OBinaryStream& operator<< ( mimmo::OBinaryStream buffer,
const std::map< T, Q > &  var 
)

Output stream operator for std::map<T, Q>

Parameters
[in]bufferis the output stream
[in]varis the element to be streamed
Returns
Returns the same output stream received in input.

Definition at line 196 of file mimmo_binary_stream.tpp.

◆ operator<<() [7/11]

template<typename T , typename Q >
mimmo::OBinaryStream& operator<< ( mimmo::OBinaryStream buffer,
const std::pair< T, Q > &  element 
)

Output stream operator for std::pair<T, Q>

Parameters
[in]bufferis the input stream
[in]elementis the element to be streamed
Returns
Returns the same input stream received in input.

Definition at line 121 of file mimmo_binary_stream.tpp.

◆ operator<<() [8/11]

mimmo::OBinaryStream& operator<< ( mimmo::OBinaryStream buffer,
const std::string &  element 
)

Output stream operator for std::string

Parameters
[in]bufferis the output stream
[in]elementis the element to be streamed
Returns
Returns the same output stream received in input.

Definition at line 66 of file mimmo_binary_stream.cpp.

◆ operator<<() [9/11]

template<typename T , typename Q >
mimmo::OBinaryStream& operator<< ( mimmo::OBinaryStream buffer,
const std::unordered_map< T, Q > &  var 
)

Output stream operator for std::unordered_map<T, Q>

Parameters
[in]bufferis the output stream
[in]varis the element to be streamed
Returns
Returns the same output stream received in input.

Definition at line 157 of file mimmo_binary_stream.tpp.

◆ operator<<() [10/11]

template<typename T >
mimmo::OBinaryStream& operator<< ( mimmo::OBinaryStream buffer,
const std::vector< T > &  var 
)

Output stream operator for vector<T>

Parameters
[in]bufferis the output stream
[in]varis the element to be streamed
Returns
Returns the same output stream received in input.

Definition at line 36 of file mimmo_binary_stream.tpp.

◆ operator<<() [11/11]

template<class T >
mimmo::OBinaryStream& operator<< ( mimmo::OBinaryStream buffer,
const mimmo::MimmoSharedPointer< T > &  element 
)

Output stream operator for bitpit::MimmoSharedPointer< T >

Parameters
[in]bufferis the output stream
[in]elementis the element to be streamed
Returns
Returns the same output stream received in input.

Definition at line 49 of file MimmoSharedPointer.tpp.

◆ operator>>() [1/11]

mimmo::IBinaryStream& operator>> ( mimmo::IBinaryStream buffer,
mimmo::CoordType var 
)

Input stream operator for mimmo::CoordType enum

Parameters
[in]bufferis the input stream
[in]varis the element to be streamed
Returns
Returns the same input stream received in input.

Definition at line 77 of file BasicShapes.cpp.

◆ operator>>() [2/11]

mimmo::IBinaryStream& operator>> ( mimmo::IBinaryStream buffer,
mimmo::FileDataInfo var 
)

Input stream operator for mimmo::FileDataInfo

Parameters
[in]bufferis the input stream
[in]varis the element to be streamed
Returns
Returns the same input stream received in input.

Definition at line 16 of file MimmoNamespace.cpp.

◆ operator>>() [3/11]

template<typename T >
mimmo::IBinaryStream& operator>> ( mimmo::IBinaryStream buffer,
mimmo::MimmoPiercedVector< T > &  element 
)

Input stream operator for bitpit::MimmoPiercedVector< T >

Parameters
[in]bufferis the input stream
[in]elementis the element to be streamed
Returns
Returns the same output stream received in input.

Definition at line 32 of file MimmoPiercedVector.tpp.

◆ operator>>() [4/11]

mimmo::IBinaryStream& operator>> ( mimmo::IBinaryStream buffer,
mimmo::ShapeType var 
)

Input stream operator for mimmo::ShapeType enum

Parameters
[in]bufferis the input stream
[in]varis the element to be streamed
Returns
Returns the same input stream received in input.

Definition at line 50 of file BasicShapes.cpp.

◆ operator>>() [5/11]

template<typename T , std::size_t d>
mimmo::IBinaryStream& operator>> ( mimmo::IBinaryStream buffer,
std::array< T, d > &  var 
)

Input stream operator for std::array<T,d> enum

Parameters
[in]bufferis the input stream
[in]varis the element to be streamed
Returns
Returns the same input stream received in input.

Definition at line 89 of file mimmo_binary_stream.tpp.

◆ operator>>() [6/11]

template<typename T , typename Q >
mimmo::IBinaryStream& operator>> ( mimmo::IBinaryStream buffer,
std::map< T, Q > &  var 
)

Input stream operator for std::map<T,Q>

Parameters
[in]bufferis the input stream
[in]varis the element to be streamed
Returns
Returns the same input stream received in input.

Definition at line 175 of file mimmo_binary_stream.tpp.

◆ operator>>() [7/11]

template<typename T , typename Q >
mimmo::IBinaryStream& operator>> ( mimmo::IBinaryStream buffer,
std::pair< T, Q > &  element 
)

Input stream operator for std::pair<T,Q>

Parameters
[in]bufferis the input stream
[in]elementis the element to be streamed
Returns
Returns the same input stream received in input.

Definition at line 104 of file mimmo_binary_stream.tpp.

◆ operator>>() [8/11]

mimmo::IBinaryStream& operator>> ( mimmo::IBinaryStream buffer,
std::string &  element 
)

Input stream operator for std::string

Parameters
[in]bufferis the input stream
[in]elementis the element to be streamed
Returns
Returns the same input stream received in input.

Definition at line 87 of file mimmo_binary_stream.cpp.

◆ operator>>() [9/11]

template<typename T , typename Q >
mimmo::IBinaryStream& operator>> ( mimmo::IBinaryStream buffer,
std::unordered_map< T, Q > &  var 
)

Input stream operator for std::unordered_map<T,Q>

Parameters
[in]bufferis the input stream
[in]varis the element to be streamed
Returns
Returns the same input stream received in input.

Definition at line 136 of file mimmo_binary_stream.tpp.

◆ operator>>() [10/11]

template<typename T >
mimmo::IBinaryStream& operator>> ( mimmo::IBinaryStream buffer,
std::vector< T > &  var 
)

Input stream operator for vector<T>

Parameters
[in]bufferis the input stream
[in]varis the element to be streamed
Returns
Returns the same input stream received in input.

Definition at line 54 of file mimmo_binary_stream.tpp.

◆ operator>>() [11/11]

template<class T >
mimmo::IBinaryStream& operator>> ( mimmo::IBinaryStream buffer,
mimmo::MimmoSharedPointer< T > &  element 
)

Input stream operator for bitpit::MimmoSharedPointer< T >

Parameters
[in]bufferis the input stream
[in]elementis the element to be streamed
Returns
Returns the same output stream received in input.

Definition at line 33 of file MimmoSharedPointer.tpp.