spot  0.9.2
refformula.hh
Go to the documentation of this file.
1 // -*- coding: utf-8 -*-
2 // Copyright (C) 2010, 2012 Laboratoire de Recherche de Developpement
3 // de l'EPITA (LRDE).
4 // Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de Paris
5 // 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
6 // Université Pierre et Marie Curie.
7 //
8 // This file is part of Spot, a model checking library.
9 //
10 // Spot is free software; you can redistribute it and/or modify it
11 // under the terms of the GNU General Public License as published by
12 // the Free Software Foundation; either version 2 of the License, or
13 // (at your option) any later version.
14 //
15 // Spot is distributed in the hope that it will be useful, but WITHOUT
16 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
18 // License for more details.
19 //
20 // You should have received a copy of the GNU General Public License
21 // along with Spot; see the file COPYING. If not, write to the Free
22 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23 // 02111-1307, USA.
24 
27 #ifndef SPOT_LTLAST_REFFORMULA_HH
28 # define SPOT_LTLAST_REFFORMULA_HH
29 
30 #include "formula.hh"
31 
32 namespace spot
33 {
34  namespace ltl
35  {
36 
39  class ref_formula : public formula
40  {
41  protected:
42  virtual ~ref_formula();
44  void ref_() const;
45  bool unref_() const;
47  unsigned ref_count_() const;
48  private:
49  mutable unsigned ref_counter_;
50  };
51 
52  }
53 }
54 
55 #endif // SPOT_LTLAST_REFFORMULA_HH

Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Jul 2 2012 17:35:47 for spot by doxygen 1.8.1.1