|
FEDEM Solver
R8.0
Source code of the dynamics solver
|
Abstract interface class for list view items. More...
#include <FFaViewItem.H>

Public Member Functions | |
| FFaViewItem ()=default | |
| Default constructor. More... | |
| FFaViewItem (const FFaViewItem &)=delete | |
| Disable default copy constructor. More... | |
| virtual | ~FFaViewItem () |
| Empty destructor. More... | |
| FFaViewItem & | operator= (const FFaViewItem &)=delete |
| Disable default assignment operator. More... | |
| virtual char const * | getItemName () const =0 |
| Returns the name of this item. More... | |
| virtual std::string | getItemDescr () const =0 |
| Returns the description of this item. More... | |
| virtual int | getItemID () const =0 |
| Returns the user ID of this item. More... | |
| virtual int | getItemBaseID () const =0 |
| Returns the base ID of this item. More... | |
| virtual void | getItemAssemblyPath (std::vector< int > &) const |
| Returns the sub-assembly ID path of this item. More... | |
Static Public Member Functions | |
| static bool | compareDescr (FFaViewItem *i1, FFaViewItem *i2) |
| Binary comparison of description strings (implementation of less). More... | |
| static bool | compareID (FFaViewItem *i1, FFaViewItem *i2) |
| Binary comparison of user IDs (implementation of less). More... | |
| static int | compareDescr3w (FFaViewItem *i1, FFaViewItem *i2) |
| Three-way lexicographical comparison of description strings. More... | |
| static int | compareID3w (FFaViewItem *i1, FFaViewItem *i2) |
| Three-way lexicographical comparison of user IDs. More... | |
Abstract interface class for list view items.
It also contains some static helpers for sorting view items. The description sorting is case insensitive.
|
default |
Default constructor.
|
delete |
Disable default copy constructor.
|
inlinevirtual |
Empty destructor.
|
static |
Binary comparison of description strings (implementation of less).
Returns true if the description *i1 precedes that of *i2. Case insensitive comparison. If the strings are equal, the ID of the two objects are compared instead. If either i1 or i2 is NULL, return as if the NULL-pointer is first.
|
static |
Three-way lexicographical comparison of description strings.
If either i1 or i2 is NULL, return as if the NULL-pointer is first.
|
static |
Binary comparison of user IDs (implementation of less).
Returns true if the ID of i1 precedes that of i2. If either i1 or i2 is NULL, return as if the NULL-pointer is first.
|
static |
Three-way lexicographical comparison of user IDs.
If either i1 or i2 is NULL, return as if the NULL-pointer is first.
|
inlinevirtual |
Returns the sub-assembly ID path of this item.
|
pure virtual |
Returns the base ID of this item.
|
pure virtual |
Returns the description of this item.
|
pure virtual |
Returns the user ID of this item.
|
pure virtual |
Returns the name of this item.
|
delete |
Disable default assignment operator.