QAspectFactory Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | QAspectFactory

Qt 5.6.2 Reference Documentation

# QAspectFactory Class

(Qt3DCore::QAspectFactory)

- List of all members, including inherited members

## Public Types

typedef | CreateFunction

## Public Functions

| QAspectFactory()
| QAspectFactory(const QAspectFactory &other)
| ~QAspectFactory()
QString | aspectName(QAbstractAspect *aspect) const
QStringList | availableFactories() const
QAbstractAspect * | createAspect(const QString &aspect, QObject *parent = 0) const
void | swap(QAspectFactory &other)
QAspectFactory & | operator=(const QAspectFactory &other)
QAspectFactory & | operator=(QAspectFactory &&other)

## Member Type Documentation

### typedef QAspectFactory::CreateFunction

## Member Function Documentation

### QAspectFactory::QAspectFactory()

Default constructs an instance of QAspectFactory.

### QAspectFactory::QAspectFactory(const QAspectFactory &other)

Copy constructor.

### QAspectFactory::~QAspectFactory()

Destroys the instance of QAspectFactory.

### QString QAspectFactory::aspectName(QAbstractAspect *aspect) const

### QStringList QAspectFactory::availableFactories() const

### QAbstractAspect *QAspectFactory::createAspect(const QString &aspect, QObject *parent = 0) const

### void QAspectFactory::swap(QAspectFactory &other)

### QAspectFactory &QAspectFactory::operator=(const QAspectFactory &other)

Copy-assignment operator.

### QAspectFactory &QAspectFactory::operator=(QAspectFactory &&other)

Move-assignment operator.