spot
0.9.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ltlenv
declenv.hh
Go to the documentation of this file.
1
// -*- coding: utf-8 -*-
2
// Copyright (C) 2009, 2012 Laboratoire de Recherche et Développement
3
// de l'Epita (LRDE).
4
// Copyright (C) 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
5
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
6
// 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
25
#ifndef SPOT_LTLENV_DECLENV_HH
26
# define SPOT_LTLENV_DECLENV_HH
27
28
# include "
environment.hh
"
29
# include <string>
30
# include <map>
31
# include "
ltlast/atomic_prop.hh
"
32
33
namespace
spot
34
{
35
namespace
ltl
36
{
37
43
class
declarative_environment
:
public
environment
44
{
45
public
:
46
declarative_environment
();
47
~declarative_environment
();
48
51
bool
declare
(
const
std::string& prop_str);
52
53
virtual
const
formula
*
require
(
const
std::string& prop_str);
54
56
virtual
const
std::string&
name
();
57
58
typedef
std::map<const std::string, const atomic_prop*>
prop_map
;
59
61
const
prop_map
&
get_prop_map
()
const
;
62
63
private
:
64
prop_map
props_
;
65
};
66
}
67
}
68
69
#endif // SPOT_LTLENV_DECLENV_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
1.8.1.1