DataKey Class Reference Entry identifier class for items of a DataSet.Every item in a DataSet is assigned a DataKey by which it can be accessed (using DataSet::operator[]()). A DataKey consists of an integer member idx, which is a positive number for any valid DataKey. No idx of an element in a DataSet may exceed the sets max(). This property may be used to build arrays with additional information to the elements of a DataSet. More...
Inheritance diagram for DataKey:
![]()
Detailed DescriptionEntry identifier class for items of a DataSet. Every item in a DataSet is assigned a DataKey by which it can be accessed (using DataSet::operator[]()). A DataKey consists of an integer member idx, which is a positive number for any valid DataKey. No idx of an element in a DataSet may exceed the sets max(). This property may be used to build arrays with additional information to the elements of a DataSet. In addition, DataKeys provide a member info which can be used to store further information. Each DataKey is unique for one DataSet but different DataSets may (and generally will) manage the same DataKeys. When an element is removed from a DataSet its DataKey may (and generally will) be reused for other elements added to the DataSet later on.
Constructor & Destructor Documentation
Member Function Documentation
gets the index number (idx) of the DataKey. Definition at line 96 of file datakey.h. References DataKey::idx. Referenced by SPxId::operator<().
Assignment operator. Definition at line 76 of file datakey.h. References DataKey::idx, and DataKey::info. Referenced by SPxId::operator=().
Member Data Documentation
(locally) unique key index Definition at line 56 of file datakey.h. Referenced by DataSet< soplex::SVSetBase::DLPSV >::create(), DataKey::getIdx(), DataSet< soplex::SVSetBase::DLPSV >::has(), DataSet< soplex::SVSetBase::DLPSV >::number(), soplex::operator<<(), DataKey::operator=(), DataSet< soplex::SVSetBase::DLPSV >::operator[](), and DataSet< soplex::SVSetBase::DLPSV >::remove().
user information to store values -1, 0, +1 Definition at line 55 of file datakey.h. Referenced by SPxId::inValidate(), SPxId::isSPxColId(), SPxId::isSPxRowId(), SPxId::isValid(), soplex::operator<<(), DataKey::operator=(), SPxId::operator=(), SPxColId::SPxColId(), SPxRowId::SPxRowId(), and SPxId::type(). |