mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0023465: Weird InsertBefore, InsertAfter and Remove methods in TDataStd lists
This commit is contained in:
@@ -62,12 +62,23 @@ public:
|
||||
//! Inserts the <value> before the first meet of <before_value>.
|
||||
Standard_EXPORT Standard_Boolean InsertBefore (const Standard_Real value, const Standard_Real before_value);
|
||||
|
||||
//! Inserts the <value> before the <index> position.
|
||||
//! The indices start with 1 .. Extent().
|
||||
Standard_EXPORT Standard_Boolean InsertBeforeByIndex (const Standard_Integer index, const Standard_Real before_value);
|
||||
|
||||
//! Inserts the <value> after the first meet of <after_value>.
|
||||
Standard_EXPORT Standard_Boolean InsertAfter (const Standard_Real value, const Standard_Real after_value);
|
||||
|
||||
//! Inserts the <value> after the <index> position.
|
||||
//! The indices start with 1 .. Extent().
|
||||
Standard_EXPORT Standard_Boolean InsertAfterByIndex (const Standard_Integer index, const Standard_Real after_value);
|
||||
|
||||
//! Removes the first meet of the <value>.
|
||||
Standard_EXPORT Standard_Boolean Remove (const Standard_Real value);
|
||||
|
||||
//! Removes a value at <index> position.
|
||||
Standard_EXPORT Standard_Boolean RemoveByIndex (const Standard_Integer index);
|
||||
|
||||
Standard_EXPORT void Clear();
|
||||
|
||||
Standard_EXPORT Standard_Real First() const;
|
||||
|
Reference in New Issue
Block a user