Seamly2D
Code documentation
VPE::VAbstractPropertyFactory Class Referenceabstract

#include <vabstractpropertyfactory.h>

Inheritance diagram for VPE::VAbstractPropertyFactory:
Collaboration diagram for VPE::VAbstractPropertyFactory:

Public Member Functions

virtual ~VAbstractPropertyFactory ()
 Empty virtual destructor. More...
 
virtual VPropertycreateProperty (const QString &type, const QString &name)=0
 Creates a new property of a certain type and assigns a name and description (otionally) More...
 

Detailed Description

Definition at line 35 of file vabstractpropertyfactory.h.

Constructor & Destructor Documentation

◆ ~VAbstractPropertyFactory()

virtual VPE::VAbstractPropertyFactory::~VAbstractPropertyFactory ( )
inlinevirtual

Empty virtual destructor.

Definition at line 39 of file vabstractpropertyfactory.h.

Member Function Documentation

◆ createProperty()

virtual VProperty* VPE::VAbstractPropertyFactory::createProperty ( const QString &  type,
const QString &  name 
)
pure virtual

Creates a new property of a certain type and assigns a name and description (otionally)

Parameters
typeThe type of the property as string
nameThe property's name
Returns
Returns the created property or NULL if it couldn't be be created

Implemented in VPE::VStandardPropertyFactory.

Referenced by VPE::VPropertyFactoryManager::createProperty().


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