#include <refformula.hh>
Inheritance diagram for spot::ltl::ref_formula:
Public Member Functions | |
virtual void | accept (visitor &v)=0 |
Entry point for vspot::ltl::visitor instances. | |
virtual void | accept (const_visitor &v) const=0 |
Entry point for vspot::ltl::const_visitor instances. | |
formula * | ref () |
clone this node | |
Static Public Member Functions | |
void | unref (formula *f) |
release this node | |
Protected Member Functions | |
virtual | ~ref_formula () |
ref_formula () | |
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). | |
Private Attributes | |
unsigned | ref_count_ |
|
|
|
|
|
Entry point for vspot::ltl::const_visitor instances.
Implemented in spot::ltl::atomic_prop, spot::ltl::binop, spot::ltl::constant, spot::ltl::multop, and spot::ltl::unop. |
|
Entry point for vspot::ltl::visitor instances.
Implemented in spot::ltl::atomic_prop, spot::ltl::binop, spot::ltl::constant, spot::ltl::multop, and spot::ltl::unop. |
|
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. |
|
|