All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Brief description of class still missing. More...
#include <GraphContentLayerFactory.h>
Public Member Functions | |
GraphContentLayer * | create (int id) const |
GraphContentLayer * | create (const QString &tag) const |
Static Public Member Functions | |
static void | init () |
static GraphContentLayerFactory * | instance () |
Brief description of class still missing.
Full description of class still missing
GraphContentLayer * SciFigs::GraphContentLayerFactory::create | ( | int | id | ) | const [inline] |
Returns a new class corresponding to id or null if it is not registered.
Reimplemented from QGpCoreTools::XMLClassFactory.
Referenced by create(), and SciFigs::GraphContent::xml_member().
{ return static_cast<GraphContentLayer *>(XMLClassFactory::create(id)); }
GraphContentLayer * SciFigs::GraphContentLayerFactory::create | ( | const QString & | tag | ) | const [inline] |
Returns a new class corresponding to tag or null if it is not registered.
Reimplemented from QGpCoreTools::XMLClassFactory.
References create().
{ return static_cast<GraphContentLayer *>(XMLClassFactory::create(tag)); }
void SciFigs::GraphContentLayerFactory::init | ( | ) | [static] |
References QGpCoreTools::XMLClassFactory::registerFactory().
{ if(!_self) { _self=new GraphContentLayerFactory; registerFactory(_self); // Required for proper deletion } }
static GraphContentLayerFactory* SciFigs::GraphContentLayerFactory::instance | ( | ) | [inline, static] |
Referenced by SciFigs::GraphContent::xml_member().
{init(); return _self;}