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

The AttributeUnit class. More...

#include <attributeunit.h>

+ Collaboration diagram for AttributeUnit:

Public Member Functions

 AttributeUnit (const QString &name, const QString &symbolTr) noexcept
 
 ~AttributeUnit () noexcept
 
const QString & getName () const noexcept
 
const QString & getSymbolTr () const noexcept
 

Private Member Functions

 AttributeUnit ()=delete
 
 AttributeUnit (const AttributeUnit &other)=delete
 
AttributeUnitoperator= (const AttributeUnit &rhs)=delete
 

Private Attributes

QString mName
 to convert from/to string, e.g. "millivolt" More...
 
QString mSymbolTr
 e.g. "mV" More...
 

Detailed Description

The AttributeUnit class.

Constructor & Destructor Documentation

AttributeUnit ( const QString &  name,
const QString &  symbolTr 
)
explicitnoexcept
~AttributeUnit ( )
noexcept
AttributeUnit ( )
privatedelete
AttributeUnit ( const AttributeUnit other)
privatedelete

Member Function Documentation

const QString& getName ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

const QString& getSymbolTr ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

AttributeUnit& operator= ( const AttributeUnit rhs)
privatedelete

Member Data Documentation

QString mName
private

to convert from/to string, e.g. "millivolt"

QString mSymbolTr
private

e.g. "mV"


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