defaultenv.hh 520 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef SPOT_LTLENV_DEFAULT_ENVIRONMENT_HH
# define SPOT_LTLENV_DEFAULT_ENVIRONMENT_HH

# include "environment.hh"

namespace spot
{
  namespace ltl
  {

    class default_environment : public environment
    {
    public:
      virtual atomic_prop* require(const std::string& prop_str);
      virtual const std::string& name();

      /* This class is a singleton.  */
      static default_environment& instance();
    protected:
      default_environment();
    };

  }
}

#endif // SPOT_LTLENV_DEFAULT_ENVIRONMENT_HH