torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ParserPointerTypes.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_PARSERPOINTERTYPES_HPP
17 #define TORC_GENERIC_EDIF_PARSERPOINTERTYPES_HPP
18 
19 //BOOST
20 #include <boost/shared_ptr.hpp>
21 #include <boost/weak_ptr.hpp>
22 
23 namespace torc {
24 namespace generic {
25 
27 typedef boost::shared_ptr<EdifContext> EdifContextSharedPtr;
28 typedef boost::weak_ptr<EdifContext> EdifContextWeakPtr;
29 
30 class Linker;
31 typedef boost::shared_ptr<Linker> LinkerSharedPtr;
32 typedef boost::weak_ptr<Linker> LinkerWeakPtr;
33 
34 } // namespace generic
35 } // namespace torc
36 
37 #endif // TORC_GENERIC_EDIF_PARSERPOINTERTYPES_HPP
boost::shared_ptr< EdifContext > EdifContextSharedPtr
boost::weak_ptr< Linker > LinkerWeakPtr
boost::shared_ptr< Linker > LinkerSharedPtr
Represents a repository of unresolved usage references.
Definition: Linker.hpp:51
boost::weak_ptr< EdifContext > EdifContextWeakPtr