Alexandria 2.31.4
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Euclid::InstOrRefHolder_Impl::InstHolder_Impl< InterfaceType, InstanceType > Struct Template Reference
Inheritance diagram for Euclid::InstOrRefHolder_Impl::InstHolder_Impl< InterfaceType, InstanceType >:
Collaboration diagram for Euclid::InstOrRefHolder_Impl::InstHolder_Impl< InterfaceType, InstanceType >:

Public Member Functions

template<typename... Args>
 InstHolder_Impl (Args &&... args)
virtual ~InstHolder_Impl ()=default
InterfaceType & ref () override
Public Member Functions inherited from Euclid::InstOrRefHolder< InterfaceType >
virtual ~InstOrRefHolder ()=default

Private Attributes

InstanceType m_instance

Additional Inherited Members

Static Public Member Functions inherited from Euclid::InstOrRefHolder< InterfaceType >
template<typename InstanceType = InterfaceType, typename... Args>
static std::unique_ptr< InstOrRefHolder< InterfaceType > > create (Args &&... args)
static std::unique_ptr< InstOrRefHolder< InterfaceType > > create (InterfaceType &ref)

Detailed Description

template<typename InterfaceType, typename InstanceType>
struct Euclid::InstOrRefHolder_Impl::InstHolder_Impl< InterfaceType, InstanceType >

Definition at line 32 of file InstOrRefHolder.icpp.

Constructor & Destructor Documentation

◆ InstHolder_Impl()

template<typename InterfaceType, typename InstanceType>
template<typename... Args>
Euclid::InstOrRefHolder_Impl::InstHolder_Impl< InterfaceType, InstanceType >::InstHolder_Impl ( Args &&... args)
inlineexplicit

Definition at line 34 of file InstOrRefHolder.icpp.

References m_instance.

◆ ~InstHolder_Impl()

template<typename InterfaceType, typename InstanceType>
virtual Euclid::InstOrRefHolder_Impl::InstHolder_Impl< InterfaceType, InstanceType >::~InstHolder_Impl ( )
virtualdefault

Member Function Documentation

◆ ref()

template<typename InterfaceType, typename InstanceType>
InterfaceType & Euclid::InstOrRefHolder_Impl::InstHolder_Impl< InterfaceType, InstanceType >::ref ( )
inlineoverridevirtual

Implements Euclid::InstOrRefHolder< InterfaceType >.

Definition at line 36 of file InstOrRefHolder.icpp.

References m_instance.

Member Data Documentation

◆ m_instance

template<typename InterfaceType, typename InstanceType>
InstanceType Euclid::InstOrRefHolder_Impl::InstHolder_Impl< InterfaceType, InstanceType >::m_instance
private

Definition at line 41 of file InstOrRefHolder.icpp.

Referenced by InstHolder_Impl(), and ref().


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