VRS
A file format for sensor data.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
vrs::FileFormat::LittleEndian< T > Class Template Referencefinal

Placeholder layer for endianness support, if we ever need it. More...

#include <FileFormat.h>

Public Member Functions

 LittleEndian ()=default
 Default constructor, using T's default initializer.
 
 LittleEndian (T value)
 Constructor with an init value.
 
get () const
 
void set (T value)
 

Detailed Description

template<class T>
class vrs::FileFormat::LittleEndian< T >

Placeholder layer for endianness support, if we ever need it.

All it currently does is enforce that we read & write native types through get & set methods.

Member Function Documentation

◆ get()

template<class T >
T vrs::FileFormat::LittleEndian< T >::get ( ) const
inline

Getter.

Returns
Value in host's endianness.

◆ set()

template<class T >
void vrs::FileFormat::LittleEndian< T >::set ( value)
inline

Setter.

Parameters
valueValue in host's endianness.

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