* src/ltlast/refformula.hh (ref_formula::ref_count_): New method.

* src/ltlast/refformula.cc (ref_formula::ref_count_): New method.
* src/ltlast/atomic_prop.hh (atomic_prop::dump_instance): New method.
* src/ltlast/atomic_prop.cc (atomic_prop::dump_instance): New method.
This commit is contained in:
Alexandre Duret-Lutz 2004-01-23 17:08:45 +00:00
parent e73ce85cfc
commit 314768bf28
5 changed files with 38 additions and 9 deletions

View file

@ -1,4 +1,4 @@
// Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
// et Marie Curie.
//
@ -37,8 +37,10 @@ namespace spot
ref_formula();
void ref_();
bool unref_();
/// Number of references to this formula.
unsigned ref_count_();
private:
unsigned ref_count_;
unsigned ref_counter_;
};
}