CBMC
smt_termt::storert< derivedt > Class Template Reference

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

#include <smt_terms.h>

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

Protected Member Functions

 storert ()
 

Static Protected Member Functions

static irept upcast (smt_termt term)
 
static const smt_termtdowncast (const irept &)
 

Detailed Description

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

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

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

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

Definition at line 43 of file smt_terms.h.

Constructor & Destructor Documentation

◆ storert()

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

Definition at line 56 of file smt_terms.h.

Member Function Documentation

◆ downcast()

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

Definition at line 71 of file smt_terms.h.

◆ upcast()

template<typename derivedt >
irept smt_termt::storert< derivedt >::upcast ( smt_termt  term)
staticprotected

Definition at line 65 of file smt_terms.h.


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