All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions
Qtilities::Core::FactoryItemID Struct Reference

A structure storing data related to a factory interface. More...

#include <Factory.h>

List of all members.

Public Member Functions

 FactoryItemID ()
 Constructs an empty FactoryItemID structure.
 FactoryItemID (const QString &iface_tag, const QtilitiesCategory &iface_category=QtilitiesCategory())
 Creates a new factory data object.
 FactoryItemID (const FactoryItemID &ref)
 FactoryItemID copy constructor.
FactoryItemIDoperator= (const FactoryItemID &ref)
 Overload of the = operator.

Detailed Description

A structure storing data related to a factory interface.

The FactoryItemID struct is used to store information about a factory interface registered within a factory.

For more information see the Factories article.


Constructor & Destructor Documentation

Qtilities::Core::FactoryItemID::FactoryItemID ( const QString &  iface_tag,
const QtilitiesCategory iface_category = QtilitiesCategory() 
)
inline

Creates a new factory data object.

Parameters:
iface_tagThe tag which can be used to produce a new instance of the interface using the Factory::newInstance() method.
iface_categoryThe category to which this interface belongs. Categories can be used to order the available interfaces registered in a factory in a categorized manner.


Qtilities : Reference Documentation Back to top Copyright © 2009-2013, Jaco Naudé