diff options
Diffstat (limited to 'src/core/context.h')
-rw-r--r-- | src/core/context.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/core/context.h b/src/core/context.h new file mode 100644 index 000000000..fce2f0b8d --- /dev/null +++ b/src/core/context.h @@ -0,0 +1,45 @@ +/********************* -*- C++ -*- */ +/** context.h + ** This file is part of the CVC4 prototype. + ** Copyright (c) 2009 The Analysis of Computer Systems Group (ACSys) + ** Courant Institute of Mathematical Sciences + ** New York University + ** See the file COPYING in the top-level source directory for licensing + ** information. + ** + **/ + +#ifndef __CVC4_CONTEXT_H +#define __CVC4_CONTEXT_H + +namespace CVC4 { + +class Context; + +class ContextManager { +public: + void switchContext(Context); + Context snapshot(); +};/* class ContextManager */ + +class ContextObject { +public: + void snapshot(); + void restore(); +};/* class ContextObject */ + +template <class T> +class CDO; + +template <class T> +class CDMap; + +template <class T> +class CDList; + +template <class T> +class CDSet; + +}/* CVC4 namespace */ + +#endif /* __CVC4_CONTEXT_H */ |