LibrePCB Developers Documentation
Loading...
Searching...
No Matches
OutputJob::ObjectSet< T > Struct Template Reference

#include <outputjob.h>

+ Collaboration diagram for OutputJob::ObjectSet< T >:

Public Member Functions

 ObjectSet (const ObjectSet &other)=default
 
 ObjectSet (const SExpression &node, const QString &childName)
 
ObjectSetoperator= (const ObjectSet &rhs)=default
 
bool operator== (const ObjectSet< T > &rhs) const noexcept
 
bool operator!= (const ObjectSet< T > &rhs) const noexcept
 
bool isAll () const noexcept
 
bool isDefault () const noexcept
 
bool isCustom () const noexcept
 
const QSet< T > & getSet () const noexcept
 
void serialize (SExpression &root, const QString &key) const
 

Static Public Member Functions

static ObjectSet all () noexcept
 
static ObjectSet onlyDefault () noexcept
 
static ObjectSet set (const QSet< T > &set) noexcept
 

Private Member Functions

 ObjectSet (bool all, bool onlyDefault, const QSet< T > &set)
 

Private Attributes

bool mAll
 
bool mDefault
 
QSet< T > mSet
 

Constructor & Destructor Documentation

◆ ObjectSet() [1/3]

template<typename T >
ObjectSet ( const ObjectSet< T > &  other)
default

◆ ObjectSet() [2/3]

template<typename T >
ObjectSet ( const SExpression node,
const QString &  childName 
)
inline
+ Here is the call graph for this function:

◆ ObjectSet() [3/3]

template<typename T >
ObjectSet ( bool  all,
bool  onlyDefault,
const QSet< T > &  set 
)
inlineprivate

Member Function Documentation

◆ operator=()

template<typename T >
ObjectSet & operator= ( const ObjectSet< T > &  rhs)
default

◆ operator==()

template<typename T >
bool operator== ( const ObjectSet< T > &  rhs) const
inlinenoexcept

◆ operator!=()

template<typename T >
bool operator!= ( const ObjectSet< T > &  rhs) const
inlinenoexcept

◆ isAll()

template<typename T >
bool isAll ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ isDefault()

template<typename T >
bool isDefault ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ isCustom()

template<typename T >
bool isCustom ( ) const
inlinenoexcept

◆ getSet()

template<typename T >
const QSet< T > & getSet ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ serialize()

template<typename T >
void serialize ( SExpression root,
const QString &  key 
) const
inline
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ all()

template<typename T >
static ObjectSet all ( )
inlinestaticnoexcept
+ Here is the caller graph for this function:

◆ onlyDefault()

template<typename T >
static ObjectSet onlyDefault ( )
inlinestaticnoexcept
+ Here is the caller graph for this function:

◆ set()

template<typename T >
static ObjectSet set ( const QSet< T > &  set)
inlinestaticnoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mAll

template<typename T >
bool mAll
private

◆ mDefault

template<typename T >
bool mDefault
private

◆ mSet

template<typename T >
QSet<T> mSet
private

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