Public Member Functions | List of all members
ARCSTypeFactory Class Referenceabstract

Generic class describing how type factories should be implemented. More...

#include <arcslibtoolkit.h>

Inheritance diagram for ARCSTypeFactory:
Inheritance graph
Collaboration diagram for ARCSTypeFactory:
Collaboration graph

Public Member Functions

virtual QString getTypeName () const =0
 Should return the name of the type factory.
 
virtual QString toString (QVariant v)=0
 Should return a string representation of data.
 
virtual QVariant parseString (QString s)=0
 Should create data from their string representation.
 
virtual bool isInternal () const
 Tells wether the factory is internal or not (false by default).
 

Detailed Description

Generic class describing how type factories should be implemented.

All new type made available to the ARCS engine must have such a type factory. Each new factory should derive from this class. If you use the automated process to create your libraries, please notice that your type factory should use ARCSTypeFactoryTemplate.

Author
Jean-Yves Didier
Date
October, 27th, 2007

Definition at line 82 of file arcslibtoolkit.h.


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