atomic_prop.hh 626 Bytes
Newer Older
1
2
3
4
#ifndef SPOT_LTLAST_ATOMIC_PROP_HH
# define SPOT_LTLAST_ATOMIC_PROP_HH

#include <string>
5
#include "formula.hh"
6
#include "ltlenv/environment.hh"
7
8
9
10
11
12

namespace spot
{
  namespace ltl
  {
    
13
    class atomic_prop : public formula
14
15
    {
    public:
16
      atomic_prop(const std::string& name, environment& env);
17
18
19
20
21
22
      virtual ~atomic_prop();

      virtual void accept(visitor& visitor);
      virtual void accept(const_visitor& visitor) const;

      const std::string& name() const;
23
      environment& env() const;
24
25
    private:
      std::string name_;
26
      environment* env_;
27
28
29
30
31
32
    };

  }
}

#endif // SPOT_LTLAST_ATOMICPROP_HH