ed
Public Member Functions | Protected Attributes | List of all members
ed::OArchive Class Reference

#include <archive.h>

Public Member Functions

std::ostreamgetStream ()
 
 OArchive (std::ostream &stream, int version)
 
OArchiveoperator<< (double d)
 
OArchiveoperator<< (float f)
 
OArchiveoperator<< (int i)
 
OArchiveoperator<< (std::string s)
 
virtual ~OArchive ()
 

Protected Attributes

std::ostreamstream_
 

Detailed Description

Definition at line 9 of file archive.h.

Constructor & Destructor Documentation

◆ OArchive()

ed::OArchive::OArchive ( std::ostream stream,
int  version 
)
inline

Definition at line 13 of file archive.h.

◆ ~OArchive()

virtual ed::OArchive::~OArchive ( )
inlinevirtual

Definition at line 17 of file archive.h.

Member Function Documentation

◆ getStream()

std::ostream& ed::OArchive::getStream ( )
inline

Definition at line 27 of file archive.h.

◆ operator<<() [1/4]

OArchive& ed::OArchive::operator<< ( double  d)
inline

Definition at line 21 of file archive.h.

◆ operator<<() [2/4]

OArchive& ed::OArchive::operator<< ( float  f)
inline

Definition at line 19 of file archive.h.

◆ operator<<() [3/4]

OArchive& ed::OArchive::operator<< ( int  i)
inline

Definition at line 23 of file archive.h.

◆ operator<<() [4/4]

OArchive& ed::OArchive::operator<< ( std::string  s)
inline

Definition at line 25 of file archive.h.

Member Data Documentation

◆ stream_

std::ostream& ed::OArchive::stream_
protected

Definition at line 31 of file archive.h.


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