#include <atomic_prop.hh>
Inheritance diagram for spot::ltl::atomic_prop:
Public Member Functions | |
virtual void | accept (visitor &visitor) |
Entry point for vspot::ltl::visitor instances. | |
virtual void | accept (const_visitor &visitor) const |
Entry point for vspot::ltl::const_visitor instances. | |
const std::string & | name () const |
Get the name of the atomic proposition. | |
environment & | env () const |
Get the environment of the atomic proposition. | |
formula * | ref () |
clone this node | |
Static Public Member Functions | |
atomic_prop * | instance (const std::string &name, environment &env) |
unsigned | instance_count () |
Number of instantiated atomic propositions. For debugging. | |
void | unref (formula *f) |
release this node | |
Protected Types | |
typedef std::pair< std::string, environment * > | pair |
typedef std::map< pair, atomic_prop * > | map |
Protected Member Functions | |
atomic_prop (const std::string &name, environment &env) | |
virtual | ~atomic_prop () |
void | ref_ () |
increment reference counter if any | |
bool | unref_ () |
decrement reference counter if any, return true when the instance must be deleted (usually when the counter hits 0). | |
Static Protected Attributes | |
map | instances |
Private Attributes | |
std::string | name_ |
environment * | env_ |
|
|
|
|
|
|
|
|
|
Entry point for vspot::ltl::const_visitor instances.
Implements spot::ltl::formula. |
|
Entry point for vspot::ltl::visitor instances.
Implements spot::ltl::formula. |
|
Get the environment of the atomic proposition.
|
|
Build an atomic proposition with name name in environment env. |
|
Number of instantiated atomic propositions. For debugging.
|
|
Get the name of the atomic proposition.
|
|
clone this node This increments the reference counter of this node (if one is used). You should almost never use this method directly as it doesn't touch the children. If you want to clone a whole formula, use spot::ltl::clone() instead. |
|
increment reference counter if any
Reimplemented from spot::ltl::formula. |
|
release this node This decrements the reference counter of this node (if one is used) and can free the object. You should almost never use this method directly as it doesn't touch the children. If you want to release a whole formula, use spot::ltl::destroy() instead. |
|
decrement reference counter if any, return true when the instance must be deleted (usually when the counter hits 0).
Reimplemented from spot::ltl::formula. |
|
|
|
|
|
|