GEGELATI

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Data::UntypedSharedPtr::Concept Struct Referenceabstract

Internal structure of the type erasure pattern. More...

`#include <untypedSharedPtr.h>`

Inheritance diagram for Data::UntypedSharedPtr::Concept:

## Public Member Functions
virtual | ~Concept ()=default
| Default deleter made virtual to activate polyphormism.
virtual const std::type_info & | getType () const =0
| Polymorphic getType() function.
virtual const std::type_info & | getPtrType () const =0
| Polymorphic getPtrType() function.

## Detailed Description

Internal structure of the type erasure pattern.

## Member Function Documentation

## ◆ getPtrType()

virtual const std::type_info & Data::UntypedSharedPtr::Concept::getPtrType | ( |  | ) | const
| pure virtual

Polymorphic getPtrType() function.

Implemented in Data::UntypedSharedPtr::Model< T >.

## ◆ getType()

virtual const std::type_info & Data::UntypedSharedPtr::Concept::getType | ( |  | ) | const
| pure virtual

Polymorphic getType() function.

Implemented in Data::UntypedSharedPtr::Model< T >.

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

- D:/a/gegelati/gegelati/gegelatilib/include/data/untypedSharedPtr.h