Public Member Functions

ns3::OutputStreamWrapper Class Reference

Inheritance diagram for ns3::OutputStreamWrapper:
Inheritance graph
[legend]
Collaboration diagram for ns3::OutputStreamWrapper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetStream (std::ostream *ostream)
std::ostream * GetStream (void)

Member Function Documentation

std::ostream* ns3::OutputStreamWrapper::GetStream ( void   ) 

Return a pointer to an ostream previously set in the wrapper.

See also:
SetStream
Returns:
a pointer to the encapsulated std::ostream, or 0 if none has been previously set
void ns3::OutputStreamWrapper::SetStream ( std::ostream *  ostream  ) 

Deletes any previously set stream object and sets the stream wrapper to hold the provided stream..

Parameters:
ostream a pointer to the std::ostream to be encapsulated

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