CBMC
cpp_convert_typet Class Reference
+ Inheritance diagram for cpp_convert_typet:
+ Collaboration diagram for cpp_convert_typet:

Public Member Functions

void write (typet &type) override
 
 cpp_convert_typet (message_handlert &message_handler, const typet &type)
 
- Public Member Functions inherited from ansi_c_convert_typet
virtual void read (const typet &type)
 
 ansi_c_convert_typet (message_handlert &_message_handler)
 
- Public Member Functions inherited from messaget
virtual void set_message_handler (message_handlert &_message_handler)
 
message_handlertget_message_handler ()
 
 messaget ()
 
 messaget (const messaget &other)
 
messagetoperator= (const messaget &other)
 
 messaget (message_handlert &_message_handler)
 
virtual ~messaget ()
 
mstreamtget_mstream (unsigned message_level) const
 
mstreamterror () const
 
mstreamtwarning () const
 
mstreamtresult () const
 
mstreamtstatus () const
 
mstreamtstatistics () const
 
mstreamtprogress () const
 
mstreamtdebug () const
 
void conditional_output (mstreamt &mstream, const std::function< void(mstreamt &)> &output_generator) const
 Generate output to message_stream using output_generator if the configured verbosity is at least as high as that of message_stream. More...
 

Public Attributes

std::size_t wchar_t_count
 
std::size_t char16_t_count
 
std::size_t char32_t_count
 
- Public Attributes inherited from ansi_c_convert_typet
unsigned unsigned_cnt
 
unsigned signed_cnt
 
unsigned char_cnt
 
unsigned int_cnt
 
unsigned short_cnt
 
unsigned long_cnt
 
unsigned double_cnt
 
unsigned float_cnt
 
unsigned c_bool_cnt
 
unsigned proper_bool_cnt
 
unsigned complex_cnt
 
unsigned int8_cnt
 
unsigned int16_cnt
 
unsigned int32_cnt
 
unsigned int64_cnt
 
unsigned ptr32_cnt
 
unsigned ptr64_cnt
 
unsigned gcc_float16_cnt
 
unsigned gcc_float32_cnt
 
unsigned gcc_float32x_cnt
 
unsigned gcc_float64_cnt
 
unsigned gcc_float64x_cnt
 
unsigned gcc_float128_cnt
 
unsigned gcc_float128x_cnt
 
unsigned gcc_int128_cnt
 
unsigned bv_cnt
 
unsigned floatbv_cnt
 
unsigned fixedbv_cnt
 
typet gcc_attribute_mode
 
bool packed
 
bool aligned
 
exprt vector_size
 
exprt alignment
 
exprt bv_width
 
exprt fraction_width
 
exprt msc_based
 
bool constructor
 
bool destructor
 
exprt::operandst assigns
 
exprt::operandst ensures
 
exprt::operandst requires
 
exprt::operandst ensures_contract
 
exprt::operandst requires_contract
 
c_storage_spect c_storage_spec
 
c_qualifierst c_qualifiers
 
source_locationt source_location
 
std::list< typetother
 

Protected Member Functions

void clear () override
 
void read_rec (const typet &type) override
 
void read_function_type (const typet &type)
 
void read_template (const typet &type)
 
- Protected Member Functions inherited from ansi_c_convert_typet
virtual void build_type_with_subtype (typet &type) const
 Build a vector or complex type with type as subtype. More...
 
virtual void set_attributes (typet &type) const
 Add qualifiers and GCC attributes onto type. More...
 

Additional Inherited Members

- Public Types inherited from messaget
enum  message_levelt {
  M_ERROR =1, M_WARNING =2, M_RESULT =4, M_STATUS =6,
  M_STATISTICS =8, M_PROGRESS =9, M_DEBUG =10
}
 
- Static Public Member Functions inherited from messaget
static unsigned eval_verbosity (const std::string &user_input, const message_levelt default_verbosity, message_handlert &dest)
 Parse a (user-)provided string as a verbosity level and set it as the verbosity of dest. More...
 
static commandt command (unsigned c)
 Create an ECMA-48 SGR (Select Graphic Rendition) command. More...
 
- Static Public Attributes inherited from messaget
static eomt eom
 
static const commandt reset
 return to default formatting, as defined by the terminal More...
 
static const commandt red
 render text with red foreground color More...
 
static const commandt green
 render text with green foreground color More...
 
static const commandt yellow
 render text with yellow foreground color More...
 
static const commandt blue
 render text with blue foreground color More...
 
static const commandt magenta
 render text with magenta foreground color More...
 
static const commandt cyan
 render text with cyan foreground color More...
 
static const commandt bright_red
 render text with bright red foreground color More...
 
static const commandt bright_green
 render text with bright green foreground color More...
 
static const commandt bright_yellow
 render text with bright yellow foreground color More...
 
static const commandt bright_blue
 render text with bright blue foreground color More...
 
static const commandt bright_magenta
 render text with bright magenta foreground color More...
 
static const commandt bright_cyan
 render text with bright cyan foreground color More...
 
static const commandt bold
 render text with bold font More...
 
static const commandt faint
 render text with faint font More...
 
static const commandt italic
 render italic text More...
 
static const commandt underline
 render underlined text More...
 
- Protected Attributes inherited from messaget
message_handlertmessage_handler
 
mstreamt mstream
 

Detailed Description

Definition at line 24 of file cpp_convert_type.cpp.

Constructor & Destructor Documentation

◆ cpp_convert_typet()

cpp_convert_typet::cpp_convert_typet ( message_handlert message_handler,
const typet type 
)
inline

Definition at line 34 of file cpp_convert_type.cpp.

Member Function Documentation

◆ clear()

void cpp_convert_typet::clear ( )
inlineoverrideprotectedvirtual

Reimplemented from ansi_c_convert_typet.

Definition at line 41 of file cpp_convert_type.cpp.

◆ read_function_type()

void cpp_convert_typet::read_function_type ( const typet type)
protected

Definition at line 152 of file cpp_convert_type.cpp.

◆ read_rec()

void cpp_convert_typet::read_rec ( const typet type)
overrideprotectedvirtual

Reimplemented from ansi_c_convert_typet.

Definition at line 55 of file cpp_convert_type.cpp.

◆ read_template()

void cpp_convert_typet::read_template ( const typet type)
protected

Definition at line 123 of file cpp_convert_type.cpp.

◆ write()

void cpp_convert_typet::write ( typet type)
overridevirtual

Reimplemented from ansi_c_convert_typet.

Definition at line 249 of file cpp_convert_type.cpp.

Member Data Documentation

◆ char16_t_count

std::size_t cpp_convert_typet::char16_t_count

Definition at line 30 of file cpp_convert_type.cpp.

◆ char32_t_count

std::size_t cpp_convert_typet::char32_t_count

Definition at line 30 of file cpp_convert_type.cpp.

◆ wchar_t_count

std::size_t cpp_convert_typet::wchar_t_count

Definition at line 30 of file cpp_convert_type.cpp.


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