gem5 v24.0.0.0
Loading...
Searching...
No Matches
ProtoStream Class Reference

A ProtoStream provides the shared functionality of the input and output streams. More...

#include <protoio.hh>

Inheritance diagram for ProtoStream:
ProtoInputStream ProtoOutputStream

Protected Member Functions

 ProtoStream ()
 Create a ProtoStream.
 

Static Protected Attributes

static const uint32_t magicNumber = 0x356d6567
 Use the ASCII characters gem5 as our magic number.
 

Private Member Functions

 ProtoStream (const ProtoStream &)
 Hide the copy constructor and assignment operator.
 
ProtoStreamoperator= (const ProtoStream &)
 

Detailed Description

A ProtoStream provides the shared functionality of the input and output streams.

At the moment this is limited to magic number.

Definition at line 58 of file protoio.hh.

Constructor & Destructor Documentation

◆ ProtoStream() [1/2]

ProtoStream::ProtoStream ( )
inlineprotected

Create a ProtoStream.

Definition at line 69 of file protoio.hh.

◆ ProtoStream() [2/2]

ProtoStream::ProtoStream ( const ProtoStream & )
private

Hide the copy constructor and assignment operator.

Member Function Documentation

◆ operator=()

ProtoStream & ProtoStream::operator= ( const ProtoStream & )
private

Member Data Documentation

◆ magicNumber

const uint32_t ProtoStream::magicNumber = 0x356d6567
staticprotected

Use the ASCII characters gem5 as our magic number.

Definition at line 64 of file protoio.hh.

Referenced by ProtoInputStream::createStreams(), and ProtoOutputStream::ProtoOutputStream().


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

Generated on Tue Jun 18 2024 16:24:09 for gem5 by doxygen 1.11.0