CBMC
smt_optiont::storert< derivedt > Class Template Reference

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

#include <smt_options.h>

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

Protected Member Functions

 storert ()
 

Static Protected Member Functions

static irept upcast (smt_optiont option)
 
static const smt_optiontdowncast (const irept &)
 

Detailed Description

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

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

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

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

Definition at line 31 of file smt_options.h.

Constructor & Destructor Documentation

◆ storert()

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

Definition at line 44 of file smt_options.h.

Member Function Documentation

◆ downcast()

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

Definition at line 59 of file smt_options.h.

◆ upcast()

template<typename derivedt >
irept smt_optiont::storert< derivedt >::upcast ( smt_optiont  option)
staticprotected

Definition at line 53 of file smt_options.h.


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