torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ObjectVisitor.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 #ifndef TORC_GENERIC_EDIF_OBJECTVISITOR_HPP
17 #define TORC_GENERIC_EDIF_OBJECTVISITOR_HPP
18 
19 #include "torc/generic/Root.hpp"
20 #include "torc/generic/Library.hpp"
21 #include "torc/generic/Cell.hpp"
22 #include "torc/generic/Design.hpp"
23 #include "torc/generic/View.hpp"
45 #include "torc/generic/Status.hpp"
54 #include "torc/generic/Apply.hpp"
55 #include "torc/generic/Timing.hpp"
56 #include "torc/generic/Event.hpp"
58 
59 namespace torc {
60 namespace generic {
61 
62 /**
63  * A inoutVisitor that can visit all types of leaf type elements in the library. All visit methods
64  * will need to be overridden in the deriving class.
65  */
67  public Design::Visitor, public View::Visitor, public ScalarPort::Visitor,
80 
81 protected:
82  ObjectVisitor();
83 public:
84  virtual
85  ~ObjectVisitor() throw ();
86 };
87 
88 } // namespace generic
89 } // namespace torc
90 
91 #endif // TORC_GENERIC_EDIF_OBJECTVISITOR_HPP
An acyclic inoutVisitor implementation.
Definition: VisitorType.hpp:57