spot  1.2.1a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
acc_dict.hh
1 // Copyright (C) 2012 Laboratoire de Recherche et Développement
2 // de l'Epita (LRDE).
3 //
4 // This file is part of Spot, a model checking library.
5 //
6 // Spot is free software; you can redistribute it and/or modify it
7 // under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 3 of the License, or
9 // (at your option) any later version.
10 //
11 // Spot is distributed in the hope that it will be useful, but WITHOUT
12 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
14 // License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 #ifndef SPOT_FASTTGBA_ACC_DICT_HH
20 # define SPOT_FASTTGBA_ACC_DICT_HH
21 
22 #include <string>
23 #include "ltlast/atomic_prop.hh"
24 
25 namespace spot
26 {
27  class fasttgba;
28 
31  class SPOT_API acc_dict
32  {
33  public:
35  acc_dict();
36 
37  acc_dict(acc_dict& ad) = delete;
38 
40  virtual ~acc_dict();
41 
43  int register_acc_for_aut(std::string acc,
44  const spot::fasttgba*);
45 
47  std::string get(int index);
48 
50  size_t size() const;
51 
53  bool empty() const;
54 
55  protected:
56  int id_;
57  std::map<std::string, int> accs_;
58  std::map<int, std::string> accsback_;
59  };
60 }
61 #endif // SPOT_FASTTGBA_ACC_DICT_HH
Definition: fasttgba.hh:33
LTL atomic propositions.
int id_
counter for uniq ref
Definition: acc_dict.hh:56
Definition: acc_dict.hh:31

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Tue Jan 21 2014 16:52:01 for spot by doxygen 1.8.5