Go to the documentation of this file.
19 #ifndef CPROVER_UTIL_REFINED_STRING_TYPE_H
20 #define CPROVER_UTIL_REFINED_STRING_TYPE_H
55 type.
id()==ID_struct &&
const componentst & components() const
const struct_typet & to_struct_type(const typet &type)
Cast a typet to a struct_typet.
const typet & get_index_type() const
The type of an expression, extends irept.
bitvector_typet index_type()
#define PRECONDITION(CONDITION)
const irep_idt & id() const
refined_string_typet(const typet &index_type, const pointer_typet &content_type)
const array_typet & get_content_type() const
Structure type, corresponds to C style structs.
const array_typet & to_array_type(const typet &type)
Cast a typet to an array_typet.
bool is_refined_string_type(const typet &type)
const typet & get_char_type() const
const refined_string_typet & to_refined_string_type(const typet &type)
The pointer type These are both 'bitvector_typet' (they have a width) and 'type_with_subtypet' (they ...
const typet & element_type() const
The type of the elements of the array.