teqp 0.19.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
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 ownership wrapper of a model

Note
Takes ownership, so the argument passed to the constructor is invalidated

Definition at line 27 of file deriv_adapter.hpp.

Constructor & Destructor Documentation

◆ ConstViewer()

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

Definition at line 34 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 32 of file deriv_adapter.hpp.

◆ get_ref()

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

Definition at line 31 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 33 of file deriv_adapter.hpp.


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