summaryrefslogtreecommitdiff
path: root/src/theory/registrar.h
blob: ce3a301d72171f0a6796ced78a53dba68484c34e (plain)
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
#include "cvc4_private.h"

#ifndef __CVC4__THEORY_REGISTRAR_H
#define __CVC4__THEORY_REGISTRAR_H
#include "theory/theory_engine.h"

namespace CVC4 {
namespace theory {

class Registrar {
private:
  TheoryEngine* d_theoryEngine;

public:
  Registrar() : d_theoryEngine(NULL){ }

  Registrar(TheoryEngine* te) : d_theoryEngine(te){ }

  void preRegister(Node n){
    if(d_theoryEngine != NULL){
      d_theoryEngine->preRegister(n);
    }
  }

};/* class Registrar */


}/* CVC4::theory namespace */
}/* CVC4 namespace */

#endif /* __CVC4__THEORY_REGISTRAR_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback