Public Member Functions | Public Attributes | Friends | List of all members
PointMatcherSupport::ConverterToAndFromBytes< T > Struct Template Reference

#include <IOFunctions.h>

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

◆ ConverterToAndFromBytes()

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

Definition at line 60 of file IOFunctions.h.

Member Function Documentation

◆ swapBytes()

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

Definition at line 62 of file IOFunctions.h.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 68 of file IOFunctions.h.

◆ operator>>

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

Definition at line 73 of file IOFunctions.h.

Member Data Documentation

◆ @29

union { ... }

◆ bytes

template<typename T >
char PointMatcherSupport::ConverterToAndFromBytes< T >::bytes[sizeof(T)]

Definition at line 57 of file IOFunctions.h.

◆ v

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:


mp2p_icp
Author(s):
autogenerated on Wed Oct 23 2024 02:45:42