PIRL  PIRL++

Public Member Functions | Public Attributes

PIRL::Binary_Output Struct Reference

Binary_Output is a subclass of Binary_IO that contains an ostream reference. More...

#include <Binary_IO.hh>

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

List of all members.

Public Member Functions

 Binary_Output (std::ostream &stream, bool reversed=false)
 Binary_Output (std::ostream &stream, Data_Order data_order)
template<typename T >
Binary_Outputput (T &value)
 Output of a value of any type.
template<typename T >
Binary_Outputput (T *value, unsigned int amount)
 Output of an array of any type.
Binary_Outputput_3 (const int &value)

Public Attributes

std::ostream & Stream

Detailed Description

Binary_Output is a subclass of Binary_IO that contains an ostream reference.


Constructor & Destructor Documentation

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

Member Function Documentation

template<typename T >
Binary_Output& PIRL::Binary_Output::put ( T &  value ) [inline]

Output of a value of any type.

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

Referenced by put().

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

Output of an array of any type.

References put(), and Stream.

Binary_Output& PIRL::Binary_Output::put_3 ( const int &  value ) [inline]

References Stream.


Member Data Documentation

Referenced by put(), and put_3().


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