cprover
zero_initializert Class Reference
Inheritance diagram for zero_initializert:
[legend]
Collaboration diagram for zero_initializert:
[legend]

Public Member Functions

 zero_initializert (const namespacet &_ns, message_handlert &_message_handler)
 
exprt operator() (const typet &type, const source_locationt &source_location)
 
- Public Member Functions inherited from messaget
virtual void set_message_handler (message_handlert &_message_handler)
 
message_handlertget_message_handler ()
 
 messaget ()
 
 messaget (const messaget &other)
 
 messaget (message_handlert &_message_handler)
 
virtual ~messaget ()
 
mstreamtget_mstream (unsigned message_level)
 
mstreamterror ()
 
mstreamtwarning ()
 
mstreamtresult ()
 
mstreamtstatus ()
 
mstreamtstatistics ()
 
mstreamtprogress ()
 
mstreamtdebug ()
 

Protected Member Functions

std::string to_string (const exprt &src)
 
std::string to_string (const typet &src)
 
exprt zero_initializer_rec (const typet &type, const source_locationt &source_location)
 

Protected Attributes

const namespacetns
 
- Protected Attributes inherited from messaget
message_handlertmessage_handler
 
mstreamt mstream
 

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 mstreamteom (mstreamt &m)
 
static mstreamtendl (mstreamt &m)
 

Detailed Description

Definition at line 26 of file zero_initializer.cpp.

Constructor & Destructor Documentation

◆ zero_initializert()

zero_initializert::zero_initializert ( const namespacet _ns,
message_handlert _message_handler 
)
inline

Definition at line 29 of file zero_initializer.cpp.

Member Function Documentation

◆ operator()()

exprt zero_initializert::operator() ( const typet type,
const source_locationt source_location 
)
inline

Definition at line 37 of file zero_initializer.cpp.

References zero_initializer_rec().

◆ to_string() [1/2]

std::string zero_initializert::to_string ( const exprt src)
inlineprotected

Definition at line 47 of file zero_initializer.cpp.

References expr2c(), and ns.

Referenced by zero_initializer_rec().

◆ to_string() [2/2]

std::string zero_initializert::to_string ( const typet src)
inlineprotected

Definition at line 52 of file zero_initializer.cpp.

References ns, and type2c().

◆ zero_initializer_rec()

Member Data Documentation

◆ ns

const namespacet& zero_initializert::ns
protected

Definition at line 45 of file zero_initializer.cpp.

Referenced by to_string(), and zero_initializer_rec().


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