Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QSSGSceneDesc::PropertyList< Class, T, List > Struct Template Reference

#include <qssgscenedesc_p.h>

+ Inheritance diagram for QSSGSceneDesc::PropertyList< Class, T, List >:
+ Collaboration diagram for QSSGSceneDesc::PropertyList< Class, T, List >:

Public Types

using ListType = List< T >
 
using ListFunc = ListType(Class::*)()
 

Public Member Functions

constexpr PropertyList (ListFunc fn)
 
bool get (const QQuick3DObject &, const void *[]) const override
 
void doSet (QQuick3DObject &that, const QSSGSceneDesc::NodeList &nodeList)
 
bool set (QQuick3DObject &that, const char *, const void *value) override
 
bool set (QQuick3DObject &that, const char *, const QVariant &var) override
 
- Public Member Functions inherited from QSSGSceneDesc::PropertyCall
virtual ~PropertyCall ()=default
 
virtual bool set (QQuick3DObject &, const char *, const void *)=0
 
virtual bool set (QQuick3DObject &, const char *, const QVariant &)=0
 
virtual bool get (const QQuick3DObject &, const void *[]) const =0
 

Public Attributes

ListFunc listfn = nullptr
 

Detailed Description

template<typename Class, typename T, template< typename > typename List>
struct QSSGSceneDesc::PropertyList< Class, T, List >

Definition at line 531 of file qssgscenedesc_p.h.

Member Typedef Documentation

◆ ListFunc

template<typename Class , typename T , template< typename > typename List>
using QSSGSceneDesc::PropertyList< Class, T, List >::ListFunc = ListType (Class::*)()

Definition at line 534 of file qssgscenedesc_p.h.

◆ ListType

template<typename Class , typename T , template< typename > typename List>
using QSSGSceneDesc::PropertyList< Class, T, List >::ListType = List<T>

Definition at line 533 of file qssgscenedesc_p.h.

Constructor & Destructor Documentation

◆ PropertyList()

template<typename Class , typename T , template< typename > typename List>
constexpr QSSGSceneDesc::PropertyList< Class, T, List >::PropertyList ( ListFunc  fn)
inlineexplicitconstexpr

Definition at line 535 of file qssgscenedesc_p.h.

Member Function Documentation

◆ doSet()

template<typename Class , typename T , template< typename > typename List>
void QSSGSceneDesc::PropertyList< Class, T, List >::doSet ( QQuick3DObject that,
const QSSGSceneDesc::NodeList nodeList 
)
inline

Definition at line 543 of file qssgscenedesc_p.h.

References QList< T >::append(), QSSGSceneDesc::NodeList::count, QSSGSceneDesc::NodeList::head, i, list, and QSSGSceneDesc::PropertyList< Class, T, List >::listfn.

Referenced by QSSGSceneDesc::PropertyList< Class, T, List >::set(), and QSSGSceneDesc::PropertyList< Class, T, List >::set().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get()

template<typename Class , typename T , template< typename > typename List>
bool QSSGSceneDesc::PropertyList< Class, T, List >::get ( const QQuick3DObject ,
const void [] 
) const
inlineoverridevirtual

Implements QSSGSceneDesc::PropertyCall.

Definition at line 540 of file qssgscenedesc_p.h.

◆ set() [1/2]

template<typename Class , typename T , template< typename > typename List>
bool QSSGSceneDesc::PropertyList< Class, T, List >::set ( QQuick3DObject that,
const char *  ,
const QVariant var 
)
inlineoverridevirtual

Implements QSSGSceneDesc::PropertyCall.

Definition at line 561 of file qssgscenedesc_p.h.

References QSSGSceneDesc::PropertyList< Class, T, List >::doSet(), and var.

+ Here is the call graph for this function:

◆ set() [2/2]

template<typename Class , typename T , template< typename > typename List>
bool QSSGSceneDesc::PropertyList< Class, T, List >::set ( QQuick3DObject that,
const char *  ,
const void value 
)
inlineoverridevirtual

Implements QSSGSceneDesc::PropertyCall.

Definition at line 551 of file qssgscenedesc_p.h.

References QSSGSceneDesc::PropertyList< Class, T, List >::doSet().

+ Here is the call graph for this function:

Member Data Documentation

◆ listfn

template<typename Class , typename T , template< typename > typename List>
ListFunc QSSGSceneDesc::PropertyList< Class, T, List >::listfn = nullptr

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