CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::SharedDocuments Class Reference

Public Member Functions

QDomDocument loadDocument (const QString &filename)
 

Static Public Member Functions

static SharedDocumentsgetInstance ()
 

Detailed Description

Helper class for reusing opened documents instead of creating new instances to them.

Definition at line 62 of file cxXmlOptionItem.cpp.

Member Function Documentation

static SharedDocuments* cx::SharedDocuments::getInstance ( )
inlinestatic

Definition at line 65 of file cxXmlOptionItem.cpp.

QDomDocument cx::SharedDocuments::loadDocument ( const QString &  filename)
inline

read the document given by filename from disk, but use a cached document if already loaded.

Definition at line 75 of file cxXmlOptionItem.cpp.


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