CBMC
smt_sortt::storert< derivedt > Class Template Reference

Class for adding the ability to up and down cast smt_sortt to and from irept. More...

#include <smt_sorts.h>

+ Inheritance diagram for smt_sortt::storert< derivedt >:

Protected Member Functions

 storert ()
 

Static Protected Member Functions

static irept upcast (smt_sortt sort)
 
static const smt_sorttdowncast (const irept &)
 

Detailed Description

template<typename derivedt>
class smt_sortt::storert< derivedt >

Class for adding the ability to up and down cast smt_sortt to and from irept.

These casts are required by other irept derived classes in order to store instances of smt_sortt inside them.

Template Parameters
derivedtThe type of class which derives from this class and from irept.

Definition at line 38 of file smt_sorts.h.

Constructor & Destructor Documentation

◆ storert()

template<typename derivedt >
smt_sortt::storert< derivedt >::storert ( )
protected

Definition at line 57 of file smt_sorts.h.

Member Function Documentation

◆ downcast()

template<typename derivedt >
const smt_sortt & smt_sortt::storert< derivedt >::downcast ( const irept irep)
staticprotected

Definition at line 72 of file smt_sorts.h.

◆ upcast()

template<typename derivedt >
irept smt_sortt::storert< derivedt >::upcast ( smt_sortt  sort)
staticprotected

Definition at line 66 of file smt_sorts.h.


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