RestoreOutputStreamState Struct Reference

#include <dds_generator.h>

Collaboration diagram for RestoreOutputStreamState:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RestoreOutputStreamState (std::ostream &o)
 ~RestoreOutputStreamState ()

Public Attributes

std::ostream & os_
std::ios_base::fmtflags state_

Detailed Description

Definition at line 431 of file dds_generator.h.


Constructor & Destructor Documentation

RestoreOutputStreamState::RestoreOutputStreamState ( std::ostream &  o  )  [inline, explicit]

Definition at line 432 of file dds_generator.h.

00433     : os_(o), state_(o.flags()) {}

RestoreOutputStreamState::~RestoreOutputStreamState (  )  [inline]

Definition at line 434 of file dds_generator.h.

References os_, and state_.

00434                               {
00435     os_.flags(state_);
00436   }


Member Data Documentation

std::ostream& RestoreOutputStreamState::os_

Definition at line 437 of file dds_generator.h.

Referenced by ~RestoreOutputStreamState().

std::ios_base::fmtflags RestoreOutputStreamState::state_

Definition at line 438 of file dds_generator.h.

Referenced by ~RestoreOutputStreamState().


The documentation for this struct was generated from the following file:
Generated on Fri Feb 12 20:05:57 2016 for OpenDDS by  doxygen 1.4.7