All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions | Static Public Member Functions
SciFigs::GraphContentLayerFactory Class Reference

Brief description of class still missing. More...

#include <GraphContentLayerFactory.h>

Inheritance diagram for SciFigs::GraphContentLayerFactory:
QGpCoreTools::XMLClassFactory

List of all members.

Public Member Functions

GraphContentLayercreate (int id) const
GraphContentLayercreate (const QString &tag) const

Static Public Member Functions

static void init ()
static GraphContentLayerFactoryinstance ()

Detailed Description

Brief description of class still missing.

Full description of class still missing


Member Function Documentation

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));
  }

References QGpCoreTools::XMLClassFactory::registerFactory().

  {
    if(!_self) {
      _self=new GraphContentLayerFactory;
      registerFactory(_self); // Required for proper deletion
    }
  }

Referenced by SciFigs::GraphContent::xml_member().

{init(); return _self;}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines