diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-10-10 22:15:38 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-10-10 22:15:38 +0000 |
commit | d6b37239a2e525e7878d3bb0b4372a8dabc340a9 (patch) | |
tree | 3db6b54c8b5873db1e6c91b1577d431d74632c66 /src/context | |
parent | 7a059452ebf5729723f610da9258a47007e38253 (diff) |
additional model gen and SMT-LIBv2 compliance work: (get-assignment) now supported; work on Result type (biggest noticeable change is that CVC4 now outputs lowercase "sat" and "unsat"), Options class moved to src/smt, to allow for future work on runtime configuration via (set-option) command
Diffstat (limited to 'src/context')
-rw-r--r-- | src/context/cdset.h | 1 | ||||
-rw-r--r-- | src/context/cdset_forward.h | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/src/context/cdset.h b/src/context/cdset.h index 47848c26f..268c3127b 100644 --- a/src/context/cdset.h +++ b/src/context/cdset.h @@ -22,6 +22,7 @@ #define __CVC4__CONTEXT__CDSET_H #include "context/context.h" +#include "context/cdset_forward.h" #include "context/cdmap.h" #include "util/Assert.h" diff --git a/src/context/cdset_forward.h b/src/context/cdset_forward.h new file mode 100644 index 000000000..135db8751 --- /dev/null +++ b/src/context/cdset_forward.h @@ -0,0 +1,42 @@ +/********************* */ +/*! \file cdset_forward.h + ** \verbatim + ** Original author: mdeters + ** Major contributors: none + ** Minor contributors (to current version): none + ** This file is part of the CVC4 prototype. + ** Copyright (c) 2009, 2010 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.\endverbatim + ** + ** \brief This is a forward declaration header to declare the CDSet<> + ** template + ** + ** This is a forward declaration header to declare the CDSet<> + ** template. It's useful if you want to forward-declare CDSet<> + ** without including the full cdset.h header, for example, in a + ** public header context. + ** + ** For CDSet<> in particular, it's difficult to forward-declare it + ** yourself, becase it has a default template argument. + **/ + +#include "cvc4_public.h" + +#ifndef __CVC4__CONTEXT__CDSET_FORWARD_H +#define __CVC4__CONTEXT__CDSET_FORWARD_H + +namespace __gnu_cxx { + template <class Key> class hash; +}/* __gnu_cxx namespace */ + +namespace CVC4 { + namespace context { + template <class V, class HashFcn = __gnu_cxx::hash<V> > + class CDSet; + }/* CVC4::context namespace */ +}/* CVC4 namespace */ + +#endif /* __CVC4__CONTEXT__CDSET_FORWARD_H */ |