teqp 0.22.0
Loading...
Searching...
No Matches
teqp::cppinterface::adapter::ConstViewer< ModelType > Struct Template Reference

#include <deriv_adapter.hpp>

Public Member Functions

auto & get_ref ()
 
const auto & get_cref () const
 
 ConstViewer (ModelType &m)
 

Public Attributes

const std::type_index index
 

Detailed Description

template<typename ModelType>
struct teqp::cppinterface::adapter::ConstViewer< ModelType >

The viewer wrapper of a model

Note
Does not take ownership, so the argument passed to the constructor must have a longer lifespan than this class

Definition at line 34 of file deriv_adapter.hpp.

Constructor & Destructor Documentation

◆ ConstViewer()

template<typename ModelType >
teqp::cppinterface::adapter::ConstViewer< ModelType >::ConstViewer ( ModelType & m)
inline

Definition at line 41 of file deriv_adapter.hpp.

Member Function Documentation

◆ get_cref()

template<typename ModelType >
const auto & teqp::cppinterface::adapter::ConstViewer< ModelType >::get_cref ( ) const
inline

Definition at line 39 of file deriv_adapter.hpp.

◆ get_ref()

template<typename ModelType >
auto & teqp::cppinterface::adapter::ConstViewer< ModelType >::get_ref ( )
inline

Definition at line 38 of file deriv_adapter.hpp.

Member Data Documentation

◆ index

template<typename ModelType >
const std::type_index teqp::cppinterface::adapter::ConstViewer< ModelType >::index

Definition at line 40 of file deriv_adapter.hpp.


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