/usr/include/cvc3/notifylist.h is in libcvc3-dev 2.4.1-5ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | /*****************************************************************************/
/*!
* \file notifylist.h
*
* Author: Clark Barrett
*
* Created: Mon Jan 20 13:52:19 2003
*
* <hr>
*
* License to use, copy, modify, sell and/or distribute this software
* and its documentation for any purpose is hereby granted without
* royalty, subject to the terms and conditions defined in the \ref
* LICENSE file provided with this distribution.
*
* <hr>
*
*/
/*****************************************************************************/
#ifndef _cvc3__include__notifylist_h_
#define _cvc3__include__notifylist_h_
#include "expr.h"
#include "cdlist.h"
namespace CVC3 {
class Theory;
class NotifyList {
CDList<Theory*> d_tlist;
CDList<Expr> d_elist;
public:
NotifyList(Context* c) : d_tlist(c), d_elist(c) {
IF_DEBUG(d_elist.setName("CDList[NotifyList]");)
}
unsigned size() const { return d_tlist.size(); }
void add(Theory* t, const Expr& e) { d_tlist.push_back(t); d_elist.push_back(e); }
Theory* getTheory(int i) const { return d_tlist[i]; }
Expr getExpr(int i) const { return d_elist[i]; }
};
}
#endif
|