Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::ISdlInstantiable Class Referenceabstract

#include <ISdlInstantiable.h>

Inheritance diagram for ph::ISdlInstantiable:
ph::SdlClass ph::SdlFunction ph::SdlStruct ph::TSdlOwnerClass< Owner, FieldSet > ph::TSdlMethod< MethodStruct, TargetType > ph::TSdlOwnerStruct< StructType >

Public Member Functions

virtual ~ISdlInstantiable ()=default
 
virtual std::size_t numFields () const =0
 
virtual const SdlFieldgetField (std::size_t index) const =0
 
virtual std::string_view getTypeName () const =0
 
virtual std::string_view getDescription () const =0
 

Constructor & Destructor Documentation

◆ ~ISdlInstantiable()

virtual ph::ISdlInstantiable::~ISdlInstantiable ( )
virtualdefault

Member Function Documentation

◆ getDescription()

virtual std::string_view ph::ISdlInstantiable::getDescription ( ) const
pure virtual
Returns
A description of this instantiable.

Implemented in ph::SdlClass, ph::SdlFunction, and ph::SdlStruct.

◆ getField()

virtual const SdlField * ph::ISdlInstantiable::getField ( std::size_t index) const
pure virtual

◆ getTypeName()

virtual std::string_view ph::ISdlInstantiable::getTypeName ( ) const
pure virtual
Returns
Type name of this instantiable.

Implemented in ph::SdlClass, ph::SdlFunction, and ph::SdlStruct.

◆ numFields()

virtual std::size_t ph::ISdlInstantiable::numFields ( ) const
pure virtual
Returns
Number of fields in this instantiable.

Implemented in ph::SdlClass, ph::SdlFunction, ph::SdlStruct, ph::TSdlOwnerClass< Owner, FieldSet >, and ph::TSdlOwnerStruct< StructType >.


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