scidavis  2.3.0
About: SciDAVis is a free application for Scientific Data Analysis and Visualization (a fork off of QtiPlot).
  Fossies Dox: scidavis-2.3.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

XmlElementAspectMaker Class Referenceabstract

Factory that creates an aspect out of an XML element. More...

#include <interfaces.h>

Public Member Functions

virtual ~XmlElementAspectMaker ()
 
virtual bool canCreate (const QString &element_name)=0
 Determine whether the loader can handle the given element. More...
 
virtual AbstractAspectcreateAspectFromXml (XmlStreamReader *reader)=0
 The factory method. More...
 

Detailed Description

Factory that creates an aspect out of an XML element.

Definition at line 117 of file interfaces.h.

Constructor & Destructor Documentation

◆ ~XmlElementAspectMaker()

virtual XmlElementAspectMaker::~XmlElementAspectMaker ( )
inlinevirtual

Definition at line 120 of file interfaces.h.

120 {}

Member Function Documentation

◆ canCreate()

virtual bool XmlElementAspectMaker::canCreate ( const QString &  element_name)
pure virtual

Determine whether the loader can handle the given element.

Referenced by future::Folder::readChildAspectElement().

Here is the caller graph for this function:

◆ createAspectFromXml()

virtual AbstractAspect* XmlElementAspectMaker::createAspectFromXml ( XmlStreamReader reader)
pure virtual

The factory method.

Referenced by future::Folder::readChildAspectElement().

Here is the caller graph for this function:

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