LibrePCB Developers Documentation
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]

ObjectSet ( const ObjectSet< T > &  other)
default
+ Here is the caller graph for this function:

◆ ObjectSet() [2/3]

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

◆ ObjectSet() [3/3]

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

Member Function Documentation

◆ operator=()

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

◆ operator==()

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

◆ operator!=()

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

◆ isAll()

bool isAll ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ isDefault()

bool isDefault ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ isCustom()

bool isCustom ( ) const
inlinenoexcept

◆ getSet()

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

◆ serialize()

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()

static ObjectSet all ( )
inlinestaticnoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ onlyDefault()

static ObjectSet onlyDefault ( )
inlinestaticnoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set()

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

bool mAll
private

◆ mDefault

bool mDefault
private

◆ mSet

QSet<T> mSet
private

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