tfel
Loading...
Searching...
No Matches
BinaryWrite.hxx File Reference

27 avr 2009 More...

#include <type_traits>
#include "TFEL/Config/TFELConfig.hxx"
#include "TFEL/System/System.hxx"

Classes

struct  tfel::system::BinaryWriter< const void * >
struct  tfel::system::EnumBinaryWriter< T >
struct  tfel::system::PointerBinaryWriter< T >
struct  tfel::system::EmptyBinaryWriter< T >
struct  tfel::system::StandardBinaryWriter< T >
struct  tfel::system::BinaryWriter< T >
struct  tfel::system::BinaryWriter< char[N]>

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.

Macros

#define TFEL_SYSTEM_BINARY_WRITER_DECLARATION(X)

Functions

template<typename T>
void tfel::system::binary_write (const int f, const T &v)

Detailed Description

27 avr 2009

Author
Thomas Helfer

Macro Definition Documentation

◆ TFEL_SYSTEM_BINARY_WRITER_DECLARATION

#define TFEL_SYSTEM_BINARY_WRITER_DECLARATION ( X)
Value:
template <> \
struct TFELSYSTEM_VISIBILITY_EXPORT BinaryWriter<X> { \ \
static void exe(const int, const X&); \
};

Function Documentation

◆ binary_write()

template<typename T>
void tfel::system::binary_write ( const int f,
const T & v )

write a value in a stream

Parameters
[in]f: input stream
[in]v: value to be written