Enrollment 28.2.0
Loading...
Searching...
No Matches
ModalitiesGalleryIndexedTemplate Class Reference

Modalities gallery reference with number identifier and template. More...

#include <ModalitiesGallery.h>

Collaboration diagram for ModalitiesGalleryIndexedTemplate:

Public Member Functions

size_t GetIndex () const final
 Provides reference index.
std::shared_ptr< ModalitiesTemplate > GetModalitiesTemplates () const final
 Provides reference ModalitiesTemplate.
 ModalitiesGalleryIndexedTemplate (size_t index, std::shared_ptr< ModalitiesTemplate > reference)
 Create indexed reference with given index and template.

Static Public Member Functions

static std::shared_ptr< ModalitiesGalleryIndexedTemplate > Downcast (std::shared_ptr< ModalitiesGalleryReference > &reference)
 Downcasts ModalitiesGalleryIndexedTemplate interface into indexed reference.

Detailed Description

Modalities gallery reference with number identifier and template.

Constructor & Destructor Documentation

◆ ModalitiesGalleryIndexedTemplate()

ModalitiesGalleryIndexedTemplate ( size_t index,
std::shared_ptr< ModalitiesTemplate > reference )
inline

Create indexed reference with given index and template.

Parameters
indexindex to store
referencereference ModalitiesTemplate

Member Function Documentation

◆ Downcast()

std::shared_ptr< ModalitiesGalleryIndexedTemplate > Downcast ( std::shared_ptr< ModalitiesGalleryReference > & reference)
inlinestatic

Downcasts ModalitiesGalleryIndexedTemplate interface into indexed reference.

Parameters
referenceto be downcasted
Returns
ModalitiesGalleryIndexedReference

◆ GetIndex()

size_t GetIndex ( ) const
inlinenodiscardfinalvirtual

Provides reference index.

Returns
reference index

Implements ModalitiesGalleryReference.

◆ GetModalitiesTemplates()

std::shared_ptr< ModalitiesTemplate > GetModalitiesTemplates ( ) const
inlinenodiscardfinalvirtual

Provides reference ModalitiesTemplate.

Returns
reference ModalitiesTemplate

Implements ModalitiesGalleryReference.


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