![]() |
Template class to implement array serialization. More...
#include <arcsarray.h>
Public Member Functions | |
virtual QString | getTypeName () const |
Should return the name of the type factory. | |
virtual QString | toString (QVariant v) |
Should return a string representation of data. | |
virtual QVariant | parseString (QString s) |
Should create data from their string representation. | |
![]() | |
virtual bool | isInternal () const |
Tells wether the factory is internal or not (false by default). | |
Protected Member Functions | |
virtual QString | separator () const |
virtual QString | baseType () const =0 |
Template class to implement array serialization.
Factories for arrays should usually derive from this class. If you use the automated process to make your libraries, the name of your class should be ARCSTypeFactoryTemplate_<yourtypename>Array
. As an example, here is how the internal type of intArray is partially implemented :
Definition at line 134 of file arcsarray.h.