LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
WSI_Base Class Referenceabstract

The WSI_Base class is the base class of all workspace settings items. More...

#include <wsi_base.h>

+ Inheritance diagram for WSI_Base:
+ Collaboration diagram for WSI_Base:

Public Member Functions

 WSI_Base () noexcept
 
 WSI_Base (const WSI_Base &other)=delete
 
virtual ~WSI_Base () noexcept
 
virtual void restoreDefault () noexcept=0
 
virtual void apply () noexcept=0
 
virtual void revert () noexcept=0
 
WSI_Baseoperator= (const WSI_Base &rhs)=delete
 
- Public Member Functions inherited from SerializableObject
 SerializableObject () noexcept
 
virtual ~SerializableObject () noexcept
 
SExpression serializeToDomElement (const QString &name) const
 Serialize the object to a new S-Expression node. More...
 
virtual void serialize (SExpression &root) const =0
 Serialize the object into an existing S-Expression node. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from SerializableObject
template<typename T >
static void serializeObjectContainer (SExpression &root, const T &container, const QString &itemName)
 
template<typename T >
static void serializePointerContainer (SExpression &root, const T &container, const QString &itemName)
 
template<typename T >
static void serializePointerContainerUuidSorted (SExpression &root, const T &container, const QString &itemName)
 

Detailed Description

The WSI_Base class is the base class of all workspace settings items.

Every workspace setting is represented by a seperate object. All of these objects have this class as base class. The name of all Workspace Settings Items begin with the prefix "WSI_" to easily recognize them.

Author
ubruhin
Date
2014-10-04

Constructor & Destructor Documentation

WSI_Base ( )
noexcept
WSI_Base ( const WSI_Base other)
delete
~WSI_Base ( )
virtualnoexcept

Member Function Documentation

virtual void restoreDefault ( )
pure virtualnoexcept

Implemented in WSI_AppDefaultMeasurementUnits, WSI_ProjectAutosaveInterval, WSI_Appearance, WSI_LibraryLocaleOrder, WSI_Repositories, WSI_LibraryNormOrder, WSI_AppLocale, WSI_User, and WSI_DebugTools.

+ Here is the caller graph for this function:

virtual void apply ( )
pure virtualnoexcept

Implemented in WSI_AppDefaultMeasurementUnits, WSI_ProjectAutosaveInterval, WSI_Appearance, WSI_LibraryLocaleOrder, WSI_Repositories, WSI_LibraryNormOrder, WSI_AppLocale, WSI_User, and WSI_DebugTools.

+ Here is the caller graph for this function:

virtual void revert ( )
pure virtualnoexcept

Implemented in WSI_AppDefaultMeasurementUnits, WSI_ProjectAutosaveInterval, WSI_Appearance, WSI_LibraryLocaleOrder, WSI_Repositories, WSI_LibraryNormOrder, WSI_AppLocale, WSI_User, and WSI_DebugTools.

+ Here is the caller graph for this function:

WSI_Base& operator= ( const WSI_Base rhs)
delete

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