torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
physical/OutputStreamHelpers.hpp
Go to the documentation of this file.
1 // Torc - Copyright 2011-2013 University of Southern California. All Rights Reserved.
2 // $HeadURL$
3 // $Id$
4 
5 // This program is free software: you can redistribute it and/or modify it under the terms of the
6 // GNU General Public License as published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10 // without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
11 // the GNU General Public License for more details.
12 //
13 // You should have received a copy of the GNU General Public License along with this program. If
14 // not, see <http://www.gnu.org/licenses/>.
15 
16 /// \file
17 /// \brief Header for torc::physical output stream helpers.
18 /// \details The coverage and support of classes is quite limited at present, but may be expanded
19 /// upon request.
20 
21 #ifndef TORC_PHYSICAL_OUTPUTSTREAMHELPERS_HPP
22 #define TORC_PHYSICAL_OUTPUTSTREAMHELPERS_HPP
23 
24 #include <iosfwd>
25 
26 namespace torc {
27 namespace physical {
28 
29  class Design;
30  class Module;
31  class Instance;
32  class Net;
33  class InstancePin;
34  class Pip;
35  class Config;
36 
37  /// \brief Design stream inserter.
38  std::ostream& operator <<(std::ostream& os, const Design& rhs);
39  /// \brief Module stream inserter.
40  std::ostream& operator <<(std::ostream& os, const Module& rhs);
41  /// \brief Instance stream inserter.
42  std::ostream& operator <<(std::ostream& os, const Instance& rhs);
43  /// \brief Net stream inserter.
44  std::ostream& operator <<(std::ostream& os, const Net& rhs);
45  /// \brief InstancePin stream inserter.
46  std::ostream& operator <<(std::ostream& os, const InstancePin& rhs);
47  /// \brief Pip stream inserter.
48  std::ostream& operator <<(std::ostream& os, const Pip& rhs);
49  /// \brief Config iterator stream inserter
50  std::ostream& operator <<(std::ostream& os, const Config& rhs);
51 
52 } // namespace physical
53 } // namespace torc
54 
55 #endif // TORC_PHYSICAL_OUTPUTSTREAMHELPERS_HPP
std::ostream & operator<<(std::ostream &os, const Design &rhs)
Design stream inserter.