19 #ifndef TORC_ARCHITECTURE_DDBSTREAMHELPER_HPP
20 #define TORC_ARCHITECTURE_DDBSTREAMHELPER_HPP
27 namespace architecture {
39 friend std::ostream&
operator <<(std::ostream& os,
const class DDB& ddb);
57 const DDB* ddbPtr = &ddb;
74 std::ostream&
operator <<(std::ostream& os,
const class DDB& ddb);
79 #endif // TORC_ARCHITECTURE_DDBSTREAMHELPER_HPP
static void dissociate(const class DDB &ddb)
Dissociate the given device database from any stream.
Device database, including complete wiring and logic support.
static OStreamToDDBMap sStreamToDatabase
Map of streams to databases.
std::ostream & operator<<(std::ostream &os, const DDB &ddb)
std::map< std::ostream *, const class DDB * > OStreamToDDBMap
Map of streams to database pointers.
static const class DDB * getDDBPtr(std::ostream &os)
Return the device database pointer associated with this stream.
Device database stream helper class.
friend std::ostream & operator<<(std::ostream &os, const class DDB &ddb)
Insertion operator to associate the given device database with the given stream.
Header for the EncapsulatedInteger template.