• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

rocs/RocsCore

Public Types | Public Member Functions | Static Public Member Functions | List of all members
GraphFileBackendManager Class Reference

#include <GraphFileBackendManager.h>

Inheritance diagram for GraphFileBackendManager:
Inheritance graph
[legend]

Public Types

enum  PluginType { Import, Export }
 

Public Member Functions

GraphFilePluginInterface * backendByExtension (QString ext)
 
QList< GraphFilePluginInterface * > backends () const
 
QList< GraphFilePluginInterface * > backends (PluginType type) const
 
GraphFilePluginInterface * defaultBackend ()
 

Static Public Member Functions

static GraphFileBackendManager * self ()
 

Detailed Description

The GraphFileBackendMananger is a singleton class that provides backends for graph file writing and reading.

The backend manager loads dynamic and static backend plugins on first access to

See also
GraphFileBackendMananger::self() and provides access to these backends as
GraphFilePluginInterface objects.

Definition at line 37 of file GraphFileBackendManager.h.

Member Enumeration Documentation

enum GraphFileBackendManager::PluginType

Selector for graph file backend with specific capability.

Enumerator
Import 
Export 

Definition at line 44 of file GraphFileBackendManager.h.

Member Function Documentation

GraphFilePluginInterface * GraphFileBackendManager::backendByExtension ( QString  ext)

Returns an arbitrary loaded plugin that can handle extension ext.

If no backend specifies this extension, return value is 0.

Parameters
extspecifies the extension string
Returns
backend to handle files with specified extension or 0 otherwise

Definition at line 140 of file GraphFileBackendManager.cpp.

QList< GraphFilePluginInterface * > GraphFileBackendManager::backends ( ) const

Returns list of loaded backends.

Backends are loaded with first call to

See also
self().
Returns
list of plugin interfaces of loaded backends

Definition at line 71 of file GraphFileBackendManager.cpp.

QList< GraphFilePluginInterface * > GraphFileBackendManager::backends ( PluginType  type) const

Returns list of all loaded backends with specified capability (.

See also
PluginType). Backends are loaded with first call to
self().
Parameters
typespecifies capability of the plugin
Returns
list of plugin interfaces of loaded backends

Definition at line 77 of file GraphFileBackendManager.cpp.

GraphFilePluginInterface * GraphFileBackendManager::defaultBackend ( )

Returns the default backend used for serialization/loading of graph files.

Use this if the graph document shall be serialized in the default format.

Returns
plugin interface for the graph file backend

Definition at line 151 of file GraphFileBackendManager.cpp.

GraphFileBackendManager * GraphFileBackendManager::self ( )
static

Returns self reference to backend manager.

First call of this method initializes file backend manager and loads plugins.

Returns
self reference

Definition at line 49 of file GraphFileBackendManager.cpp.


The documentation for this class was generated from the following files:
  • GraphFileBackendManager.h
  • GraphFileBackendManager.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

rocs/RocsCore

Skip menu "rocs/RocsCore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal