Defines | Functions
core/vsl/vsl_binary_loader.txx File Reference
#include "vsl_binary_loader.h"
#include <vcl_vector.txx>

Go to the source code of this file.

Defines

#define vsl_binary_loader_txx_
#define VSL_BINARY_LOADER_WITH_SPECIALIZATION_INSTANTIATE(T)
#define VSL_BINARY_LOADER_INSTANTIATE(T)

Functions

template<class BaseClass >
void vsl_b_write (vsl_b_ostream &bfs, const BaseClass *b)
 Binary file stream output operator for pointer to class.

Detailed Description

Definition in file vsl_binary_loader.txx.


Define Documentation

#define VSL_BINARY_LOADER_INSTANTIATE (   T)
Value:
VSL_BINARY_LOADER_WITH_SPECIALIZATION_INSTANTIATE(T); \
VCL_INSTANTIATE_INLINE(void vsl_b_read( vsl_b_istream& bfs, T*& b)); \
template void vsl_b_write(vsl_b_ostream& bfs, const T* b)

Definition at line 126 of file vsl_binary_loader.txx.

#define vsl_binary_loader_txx_

Definition at line 3 of file vsl_binary_loader.txx.

#define VSL_BINARY_LOADER_WITH_SPECIALIZATION_INSTANTIATE (   T)
Value:
VCL_DEFINE_SPECIALIZATION vcl_string vsl_binary_loader<T >::is_a() const \
{  return vcl_string("vsl_binary_loader<" #T ">"); }\
template class vsl_binary_loader<T >

Definition at line 122 of file vsl_binary_loader.txx.


Function Documentation

template<class BaseClass >
void vsl_b_write ( vsl_b_ostream bfs,
const BaseClass *  b 
)

Binary file stream output operator for pointer to class.

This works correctly even if b is a NULL pointer

Definition at line 106 of file vsl_binary_loader.txx.