13 #ifndef FFA_VIEW_ITEM_H
14 #define FFA_VIEW_ITEM_H
Abstract interface class for list view items.
Definition: FFaViewItem.H:27
virtual void getItemAssemblyPath(std::vector< int > &) const
Returns the sub-assembly ID path of this item.
Definition: FFaViewItem.H:46
static bool compareID(FFaViewItem *i1, FFaViewItem *i2)
Binary comparison of user IDs (implementation of less).
Definition: FFaViewItemUtils.C:100
static bool compareDescr(FFaViewItem *i1, FFaViewItem *i2)
Binary comparison of description strings (implementation of less).
Definition: FFaViewItemUtils.C:72
FFaViewItem()=default
Default constructor.
FFaViewItem & operator=(const FFaViewItem &)=delete
Disable default assignment operator.
virtual int getItemBaseID() const =0
Returns the base ID of this item.
virtual std::string getItemDescr() const =0
Returns the description of this item.
FFaViewItem(const FFaViewItem &)=delete
Disable default copy constructor.
virtual char const * getItemName() const =0
Returns the name of this item.
virtual int getItemID() const =0
Returns the user ID of this item.
static int compareID3w(FFaViewItem *i1, FFaViewItem *i2)
Three-way lexicographical comparison of user IDs.
Definition: FFaViewItemUtils.C:143
virtual ~FFaViewItem()
Empty destructor.
Definition: FFaViewItem.H:34
static int compareDescr3w(FFaViewItem *i1, FFaViewItem *i2)
Three-way lexicographical comparison of description strings.
Definition: FFaViewItemUtils.C:123