PIRL  PIRL++

Public Member Functions | Public Attributes

PIRL::Binary_Input Struct Reference

Binary_Input is a subclass of Binary_IO that contains an istream reference. More...

#include <Binary_IO.hh>

Inheritance diagram for PIRL::Binary_Input:
Inheritance graph
[legend]
Collaboration diagram for PIRL::Binary_Input:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Binary_Input (std::istream &stream, bool reversed=false)
 Binary_Input (std::istream &stream, Data_Order data_order)
template<typename T >
Binary_Inputget (T &value)
 Input of a value of any type.
template<typename T >
Binary_Inputget (T *value, unsigned int amount)
 Input of an array of any type.
Binary_Inputget_3 (int &value)

Public Attributes

std::istream & Stream

Detailed Description

Binary_Input is a subclass of Binary_IO that contains an istream reference.


Constructor & Destructor Documentation

PIRL::Binary_Input::Binary_Input ( std::istream &  stream,
bool  reversed = false 
) [inline, explicit]
PIRL::Binary_Input::Binary_Input ( std::istream &  stream,
Data_Order  data_order 
) [inline, explicit]

Member Function Documentation

template<typename T >
Binary_Input& PIRL::Binary_Input::get ( T &  value ) [inline]

Input of a value of any type.

References PIRL::Binary_IO::read, and Stream.

Referenced by get().

template<typename T >
Binary_Input& PIRL::Binary_Input::get ( T *  value,
unsigned int  amount 
) [inline]

Input of an array of any type.

References get(), and Stream.

Binary_Input& PIRL::Binary_Input::get_3 ( int &  value ) [inline]

References Stream.


Member Data Documentation

Referenced by get(), and get_3().


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