Public Member Functions | Public Attributes | Friends
PointMatcherSupport::ConverterToAndFromBytes< T > Struct Template Reference

#include <IOFunctions.h>

List of all members.

Public Member Functions

 ConverterToAndFromBytes (T v=static_cast< T >(0))
void swapBytes ()

Public Attributes

union {
   char   bytes [sizeof(T)]
   T   v
}; 

Friends

std::ostream & operator<< (std::ostream &out, const ConverterToAndFromBytes &c)
std::istream & operator>> (std::istream &in, ConverterToAndFromBytes &c)

Detailed Description

template<typename T>
struct PointMatcherSupport::ConverterToAndFromBytes< T >

Definition at line 52 of file IOFunctions.h.


Constructor & Destructor Documentation

template<typename T>
PointMatcherSupport::ConverterToAndFromBytes< T >::ConverterToAndFromBytes ( v = static_cast<T>(0)) [inline]

Definition at line 60 of file IOFunctions.h.


Member Function Documentation

template<typename T>
void PointMatcherSupport::ConverterToAndFromBytes< T >::swapBytes ( ) [inline]

Definition at line 62 of file IOFunctions.h.


Friends And Related Function Documentation

template<typename T>
std::ostream& operator<< ( std::ostream &  out,
const ConverterToAndFromBytes< T > &  c 
) [friend]

Definition at line 68 of file IOFunctions.h.

template<typename T>
std::istream& operator>> ( std::istream &  in,
ConverterToAndFromBytes< T > &  c 
) [friend]

Definition at line 73 of file IOFunctions.h.


Member Data Documentation

union { ... }
template<typename T>
char PointMatcherSupport::ConverterToAndFromBytes< T >::bytes[sizeof(T)]

Definition at line 57 of file IOFunctions.h.

template<typename T>
T PointMatcherSupport::ConverterToAndFromBytes< T >::v

Definition at line 56 of file IOFunctions.h.


The documentation for this struct was generated from the following file:


libpointmatcher
Author(s):
autogenerated on Thu Jun 20 2019 19:51:34