CBMC
smt_get_value_responset::valuation_pairt Class Reference

#include <smt_responses.h>

+ Inheritance diagram for smt_get_value_responset::valuation_pairt:
+ Collaboration diagram for smt_get_value_responset::valuation_pairt:

Public Member Functions

 valuation_pairt ()=delete
 
 valuation_pairt (smt_termt descriptor, smt_termt value)
 
 valuation_pairt (irep_idt descriptor, const smt_termt &value)
 
bool operator== (const valuation_pairt &) const
 
bool operator!= (const valuation_pairt &) const
 
const smt_termtdescriptor () const
 
const smt_termtvalue () const
 
std::string pretty (unsigned indent=0, unsigned max_indent=0) const
 

Public Attributes

friend smt_get_value_responset
 

Additional Inherited Members

- Private Types inherited from irept
using baset = tree_implementationt
 
- Private Types inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > >
using dt = tree_nodet< irept, forward_list_as_mapt< irep_idt, irept >, true >
 
using subt = typename dt::subt
 
using named_subt = typename dt::named_subt
 
using tree_implementationt = sharing_treet
 Used to refer to this class from derived classes. More...
 
- Private Member Functions inherited from irept
bool is_nil () const
 
bool is_not_nil () const
 
 irept (const irep_idt &_id)
 
 irept (const irep_idt &_id, const named_subt &_named_sub, const subt &_sub)
 
 irept ()=default
 
const irep_idtid () const
 
const std::string & id_string () const
 
void id (const irep_idt &_data)
 
const ireptfind (const irep_idt &name) const
 
ireptadd (const irep_idt &name)
 
ireptadd (const irep_idt &name, irept irep)
 
const std::string & get_string (const irep_idt &name) const
 
const irep_idtget (const irep_idt &name) const
 
bool get_bool (const irep_idt &name) const
 
signed int get_int (const irep_idt &name) const
 
std::size_t get_size_t (const irep_idt &name) const
 
long long get_long_long (const irep_idt &name) const
 
void set (const irep_idt &name, const irep_idt &value)
 
void set (const irep_idt &name, irept irep)
 
void set (const irep_idt &name, const long long value)
 
void set_size_t (const irep_idt &name, const std::size_t value)
 
void remove (const irep_idt &name)
 
void move_to_sub (irept &irep)
 
void move_to_named_sub (const irep_idt &name, irept &irep)
 
bool operator== (const irept &other) const
 
bool operator!= (const irept &other) const
 
void swap (irept &irep)
 
bool operator< (const irept &other) const
 defines ordering on the internal representation More...
 
bool ordering (const irept &other) const
 defines ordering on the internal representation More...
 
int compare (const irept &i) const
 defines ordering on the internal representation comments are ignored More...
 
void clear ()
 
void make_nil ()
 
subtget_sub ()
 
const subtget_sub () const
 
named_subtget_named_sub ()
 
const named_subtget_named_sub () const
 
std::size_t hash () const
 
std::size_t full_hash () const
 
bool full_eq (const irept &other) const
 
std::string pretty (unsigned indent=0, unsigned max_indent=0) const
 
- Private Member Functions inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > >
 sharing_treet (irep_idt _id)
 
 sharing_treet (irep_idt _id, named_subt _named_sub, subt _sub)
 
 sharing_treet ()
 
 sharing_treet (const sharing_treet &irep)
 
 sharing_treet (sharing_treet &&irep)
 
sharing_treetoperator= (const sharing_treet &irep)
 
sharing_treetoperator= (sharing_treet &&irep)
 
 ~sharing_treet ()
 
const dtread () const
 
dtwrite ()
 
void detach ()
 
- Private Member Functions inherited from smt_termt::storert< valuation_pairt >
 storert ()
 
- Static Private Member Functions inherited from irept
static bool is_comment (const irep_idt &name)
 
static std::size_t number_of_non_comments (const named_subt &)
 count the number of named_sub elements that are not comments More...
 
- Static Private Member Functions inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > >
static void remove_ref (dt *old_data)
 
static void nonrecursive_destructor (dt *old_data)
 Does the same as remove_ref, but using an explicit stack instead of recursion. More...
 
- Static Private Member Functions inherited from smt_termt::storert< valuation_pairt >
static irept upcast (smt_termt term)
 
static const smt_termtdowncast (const irept &)
 
- Private Attributes inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > >
dtdata
 
- Static Private Attributes inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > >
static dt empty_d
 

Detailed Description

Definition at line 101 of file smt_responses.h.

Constructor & Destructor Documentation

◆ valuation_pairt() [1/3]

smt_get_value_responset::valuation_pairt::valuation_pairt ( )
delete

◆ valuation_pairt() [2/3]

smt_get_value_responset::valuation_pairt::valuation_pairt ( smt_termt  descriptor,
smt_termt  value 
)

Definition at line 109 of file smt_responses.cpp.

◆ valuation_pairt() [3/3]

smt_get_value_responset::valuation_pairt::valuation_pairt ( irep_idt  descriptor,
const smt_termt value 
)

Definition at line 120 of file smt_responses.cpp.

Member Function Documentation

◆ descriptor()

const smt_termt & smt_get_value_responset::valuation_pairt::descriptor ( ) const

Definition at line 127 of file smt_responses.cpp.

◆ operator!=()

Definition at line 143 of file smt_responses.cpp.

◆ operator==()

bool smt_get_value_responset::valuation_pairt::operator== ( const valuation_pairt other) const

Definition at line 137 of file smt_responses.cpp.

◆ pretty()

std::string irept::pretty

Definition at line 458 of file irep.cpp.

◆ value()

const smt_termt & smt_get_value_responset::valuation_pairt::value ( ) const

Definition at line 132 of file smt_responses.cpp.

Member Data Documentation

◆ smt_get_value_responset

friend smt_get_value_responset::valuation_pairt::smt_get_value_responset

Definition at line 117 of file smt_responses.h.


The documentation for this class was generated from the following files: