diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-11-17 18:57:16 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-11-17 18:57:16 +0000 |
commit | 2cc71c7863a0c481cf6a4a9e18a59d17b62a905d (patch) | |
tree | e53df57a7c44171edd7494da7a840060fda37543 /src/bindings/java_iterator_adapter.h | |
parent | 943870920431bf1d6f6f1eb163eb82fb26bdad58 (diff) |
* enable previously-failing (now succeeding) datatype example that uses records
* some bindings cleanup
(this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/bindings/java_iterator_adapter.h')
-rw-r--r-- | src/bindings/java_iterator_adapter.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/bindings/java_iterator_adapter.h b/src/bindings/java_iterator_adapter.h index 16c968a47..61bc68330 100644 --- a/src/bindings/java_iterator_adapter.h +++ b/src/bindings/java_iterator_adapter.h @@ -1,3 +1,35 @@ +/********************* */ +/*! \file java_iterator_adapter.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-2012 New York University and The University of Iowa + ** See the file COPYING in the top-level source directory for licensing + ** information.\endverbatim + ** + ** \brief An iterator adapter for the Java bindings, giving Java iterators + ** the ability to access elements from STL iterators. + ** + ** An iterator adapter for the Java bindings, giving Java iterators the + ** ability to access elements from STL iterators. This class is mapped + ** into Java by SWIG, where it implements Iterator (some additional + ** Java-side functions are added by the SWIG layer to implement the full + ** interface). + ** + ** The functionality requires significant assistance from the ".i" SWIG + ** interface files, applying a variety of typemaps. + **/ + +// private to the bindings layer +#ifndef SWIGJAVA +# error This should only be included from the Java bindings layer. +#endif /* SWIGJAVA */ + +#ifndef __CVC4__BINDINGS__JAVA_ITERATOR_ADAPTER_H +#define __CVC4__BINDINGS__JAVA_ITERATOR_ADAPTER_H + namespace CVC4 { template <class T> @@ -23,3 +55,5 @@ public: };/* class JavaIteratorAdapter<T> */ }/* CVC4 namespace */ + +#endif /* __CVC4__BINDINGS__JAVA_ITERATOR_ADAPTER_H */ |