cvc4-1.3
ascription_type.h
Go to the documentation of this file.
1 /********************* */
17 #include "cvc4_public.h"
18 
19 #ifndef __CVC4__ASCRIPTION_TYPE_H
20 #define __CVC4__ASCRIPTION_TYPE_H
21 
22 #include "expr/type.h"
23 
24 namespace CVC4 {
25 
34  Type d_type;
35 public:
36  AscriptionType(Type t) throw() : d_type(t) {}
37  Type getType() const throw() { return d_type; }
38  bool operator==(const AscriptionType& other) const throw() {
39  return d_type == other.d_type;
40  }
41  bool operator!=(const AscriptionType& other) const throw() {
42  return d_type != other.d_type;
43  }
44 };/* class AscriptionType */
45 
50  inline size_t operator()(const AscriptionType& at) const {
51  return TypeHashFunction()(at.getType());
52  }
53 };/* struct AscriptionTypeHashFunction */
54 
56 inline std::ostream& operator<<(std::ostream& out, AscriptionType at) {
57  out << at.getType();
58  return out;
59 }
60 
61 }/* CVC4 namespace */
62 
63 #endif /* __CVC4__ASCRIPTION_TYPE_H */
A hash function for type ascription operators.
Hash function for Types.
Definition: type.h:68
size_t operator()(const AscriptionType &at) const
Class encapsulating CVC4 expression types.
Definition: type.h:88
bool operator==(const AscriptionType &other) const
Type getType() const
This is CVC4 release version For build and installation please see the INSTALL file included with this distribution This first official release of CVC4 is the result of more than three years of efforts by researchers at New York University and The University of Iowa The project leaders are Clark please refer to the AUTHORS file in the source distribution CVC4 is a tool for determining the satisfiability of a first order formula modulo a first order CVC CVC3 but does not directly incorporate code from any previous version CVC4 is intended to be an open and extensible SMT engine It can be used as a stand alone tool or as a library It has been designed to increase the performance and reduce the memory overhead of its predecessors It is written entirely in C and is released under a free software see the INSTALL file that comes with this distribution We recommend that you visit our CVC4 tutorials online please write to the cvc users cs nyu edu mailing list *if you need to report a bug with CVC4
Definition: README:39
#define CVC4_PUBLIC
Definition: cvc4_public.h:30
Macros that should be defined everywhere during the building of the libraries and driver binary...
A class used to parameterize a type ascription.
bool operator!=(const AscriptionType &other) const
This is CVC4 release version For build and installation please see the INSTALL file included with this distribution This first official release of CVC4 is the result of more than three years of efforts by researchers at New York University and The University of Iowa The project leaders are Clark please refer to the AUTHORS file in the source distribution CVC4 is a tool for determining the satisfiability of a first order formula modulo a first order CVC CVC3 but does not directly incorporate code from any previous version CVC4 is intended to be an open and extensible SMT engine It can be used as a stand alone tool or as a library It has been designed to increase the performance and reduce the memory overhead of its predecessors It is written entirely in C and is released under a free software see the INSTALL file that comes with this distribution We recommend that you visit our CVC4 tutorials online at
Definition: README:39
struct CVC4::options::out__option_t out
std::ostream & operator<<(std::ostream &out, SimplificationMode mode)
Interface for expression types.