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