00001 // Torc - Copyright 2011 University of Southern California. All Rights Reserved. 00002 // $HeadURL: https://torc-isi.svn.sourceforge.net/svnroot/torc-isi/branches/staging/0.9/src/torc/physical/OutputStreamHelpers.hpp $ 00003 // $Id: OutputStreamHelpers.hpp 10 2011-10-12 18:40:16Z nsteiner $ 00004 00005 // This program is free software: you can redistribute it and/or modify it under the terms of the 00006 // GNU General Public License as published by the Free Software Foundation, either version 3 of the 00007 // License, or (at your option) any later version. 00008 // 00009 // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 00010 // without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 00011 // the GNU General Public License for more details. 00012 // 00013 // You should have received a copy of the GNU General Public License along with this program. If 00014 // not, see <http://www.gnu.org/licenses/>. 00015 00016 /// \file 00017 /// \brief Header for torc::physical output stream helpers. 00018 /// \details The coverage and support of classes is quite limited at present, but may be expanded 00019 /// upon request. 00020 00021 #ifndef TORC_PHYSICAL_OUTPUTSTREAMHELPERS_HPP 00022 #define TORC_PHYSICAL_OUTPUTSTREAMHELPERS_HPP 00023 00024 #include <iosfwd> 00025 00026 namespace torc { 00027 namespace physical { 00028 00029 class Design; 00030 class Module; 00031 class Instance; 00032 class Net; 00033 class InstancePin; 00034 class Pip; 00035 class Config; 00036 00037 /// \brief Design stream inserter. 00038 std::ostream& operator <<(std::ostream& os, const Design& rhs); 00039 /// \brief Module stream inserter. 00040 std::ostream& operator <<(std::ostream& os, const Module& rhs); 00041 /// \brief Instance stream inserter. 00042 std::ostream& operator <<(std::ostream& os, const Instance& rhs); 00043 /// \brief Net stream inserter. 00044 std::ostream& operator <<(std::ostream& os, const Net& rhs); 00045 /// \brief InstancePin stream inserter. 00046 std::ostream& operator <<(std::ostream& os, const InstancePin& rhs); 00047 /// \brief Pip stream inserter. 00048 std::ostream& operator <<(std::ostream& os, const Pip& rhs); 00049 /// \brief Config iterator stream inserter 00050 std::ostream& operator <<(std::ostream& os, const Config& rhs); 00051 00052 } // namespace physical 00053 } // namespace torc 00054 00055 #endif // TORC_PHYSICAL_OUTPUTSTREAMHELPERS_HPP