1 /********************* */
2 /*! \file type_enumerator.h
4 ** Original author: mdeters
5 ** Major contributors: none
6 ** Minor contributors (to current version): none
7 ** This file is part of the CVC4 prototype.
8 ** Copyright (c) 2009-2012 The Analysis of Computer Systems Group (ACSys)
9 ** Courant Institute of Mathematical Sciences
10 ** New York University
11 ** See the file COPYING in the top-level source directory for licensing
12 ** information.\endverbatim
14 ** \brief An enumerator for arrays
16 ** An enumerator for arrays.
19 #include "cvc4_private.h"
21 #ifndef __CVC4__THEORY__ARRAYS__TYPE_ENUMERATOR_H
22 #define __CVC4__THEORY__ARRAYS__TYPE_ENUMERATOR_H
24 #include "theory/type_enumerator.h"
25 #include "expr/type_node.h"
26 #include "expr/kind.h"
32 class ArrayEnumerator
: public TypeEnumeratorBase
<ArrayEnumerator
> {
33 TypeEnumerator d_index
;
34 TypeEnumerator d_constituent
;
38 ArrayEnumerator(TypeNode type
) throw(AssertionException
) :
39 TypeEnumeratorBase
<ArrayEnumerator
>(type
),
40 d_index(TypeEnumerator(type
.getArrayIndexType())),
41 d_constituent(TypeEnumerator(type
.getArrayConstituentType())) {
44 Node
operator*() throw(NoMoreValuesException
) {
46 //return NodeManager::currentNM()->mkConst(Array(d_size, d_bits));
49 ArrayEnumerator
& operator++() throw() {
53 };/* class ArrayEnumerator */
55 }/* CVC4::theory::arrays namespace */
56 }/* CVC4::theory namespace */
59 #endif /* __CVC4__THEORY__ARRAYS__TYPE_ENUMERATOR_H */