Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
TypedSPI< Id, Base > Class Template Reference

Decorator which overrides SPIBase::id() More...

#include <style-internal.h>

Inheritance diagram for TypedSPI< Id, Base >:

Public Member Functions

SPAttr id () const override
 Get the attribute enum.
 
Base * upcast ()
 Upcast to the base class.
 
Base const * upcast () const
 

Static Public Member Functions

static SPAttr static_id ()
 

Detailed Description

template<SPAttr Id, class Base>
class TypedSPI< Id, Base >

Decorator which overrides SPIBase::id()

Definition at line 219 of file style-internal.h.

Member Function Documentation

◆ id()

template<SPAttr Id, class Base >
SPAttr TypedSPI< Id, Base >::id ( ) const
inlineoverride

Get the attribute enum.

Definition at line 226 of file style-internal.h.

◆ static_id()

template<SPAttr Id, class Base >
static SPAttr TypedSPI< Id, Base >::static_id ( )
inlinestatic

Definition at line 227 of file style-internal.h.

◆ upcast() [1/2]

template<SPAttr Id, class Base >
Base * TypedSPI< Id, Base >::upcast ( )
inline

Upcast to the base class.

Definition at line 232 of file style-internal.h.

◆ upcast() [2/2]

template<SPAttr Id, class Base >
Base const * TypedSPI< Id, Base >::upcast ( ) const
inline

Definition at line 233 of file style-internal.h.


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