25 #ifndef INCLUDED_BufferTraits_h_GUID_83FE7C11_8192_409F_7D69_FDBC57B88581 26 #define INCLUDED_BufferTraits_h_GUID_83FE7C11_8192_409F_7D69_FDBC57B88581 32 #include <boost/type_traits/is_convertible.hpp> 44 template <
typename ContainerType>
52 template <
typename ContainerType>
59 struct is_buffer : boost::is_convertible<T, detail::BufferTypeChecker> {};
64 : boost::is_convertible<T, detail::BufferReaderTypeChecker> {};
68 #endif // INCLUDED_BufferTraits_h_GUID_83FE7C11_8192_409F_7D69_FDBC57B88581 Handles spatial transformations.
Definition: SerializationTraitExample_Complicated.h:40
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
Definition: newuoa.h:1888
A buffer of bytes, built on a byte-vector-like container.
Definition: Buffer.h:206
Serves to provide conversion operators for things that work like BufferReaders to assist with traits/...
Definition: BufferTraits.h:50
Type trait: is the given type a buffer?
Definition: BufferTraits.h:59
Provides for a single reading pass over a buffer.
Definition: Buffer.h:117
Serves to provide conversion operators for things that work like Buffers to assist with traits/static...
Definition: BufferTraits.h:42
Type trait: is the given type a buffer reader?
Definition: BufferTraits.h:63