![]() |
Chemical Data Processing Library Python API - Version 1.2.3
|
A pair of unsigned integers of type std::size_t.
More...
Inheritance diagram for CDPL.Util.STPair:Public Member Functions | |
| None | __init__ () |
| Initializes the STPair instance. | |
| None | __init__ (STPair pair) |
| Initializes a copy of the STPair instance pair. More... | |
| None | __init__ (int first, int second) |
| Initializes the STPair instance. More... | |
| int | getFirst () |
| None | setFirst (int value) |
| int | getSecond () |
| None | setSecond (int value) |
| STPair | assign (STPair array) |
Replaces the current state of self with a copy of the state of the STPair instance array. More... | |
| bool | __eq__ (STPair pair) |
Returns the result of the comparison operation self == pair. More... | |
| bool | __ne__ (STPair pair) |
Returns the result of the comparison operation self != pair. More... | |
| bool | __le__ (STPair pair) |
Returns the result of the comparison operation self <= pair. More... | |
| bool | __ge__ (STPair pair) |
Returns the result of the comparison operation self >= pair. More... | |
| bool | __lt__ (STPair pair) |
Returns the result of the comparison operation self < pair. More... | |
| bool | __gt__ (STPair pair) |
Returns the result of the comparison operation self > pair. More... | |
Properties | |
| first = property(getFirst, setFirst) | |
| second = property(getSecond, setSecond) | |
A pair of unsigned integers of type std::size_t.
| None CDPL.Util.STPair.__init__ | ( | STPair | pair | ) |
Initializes a copy of the STPair instance pair.
| pair | The STPair instance to copy. |
| None CDPL.Util.STPair.__init__ | ( | int | first, |
| int | second | ||
| ) |
Initializes the STPair instance.
| first | |
| second |
| int CDPL.Util.STPair.getFirst | ( | ) |
| None CDPL.Util.STPair.setFirst | ( | int | value | ) |
| value |
| int CDPL.Util.STPair.getSecond | ( | ) |
| None CDPL.Util.STPair.setSecond | ( | int | value | ) |
| value |
Replaces the current state of self with a copy of the state of the STPair instance array.
| array | The STPair instance to copy. |
| bool CDPL.Util.STPair.__eq__ | ( | STPair | pair | ) |
Returns the result of the comparison operation self == pair.
| pair | The STPair instance to be compared with. |
| bool CDPL.Util.STPair.__ne__ | ( | STPair | pair | ) |
Returns the result of the comparison operation self != pair.
| pair | The STPair instance to be compared with. |
| bool CDPL.Util.STPair.__le__ | ( | STPair | pair | ) |
Returns the result of the comparison operation self <= pair.
| pair | The STPair instance to be compared with. |
| bool CDPL.Util.STPair.__ge__ | ( | STPair | pair | ) |
Returns the result of the comparison operation self >= pair.
| pair | The STPair instance to be compared with. |
| bool CDPL.Util.STPair.__lt__ | ( | STPair | pair | ) |
Returns the result of the comparison operation self < pair.
| pair | The STPair instance to be compared with. |
| bool CDPL.Util.STPair.__gt__ | ( | STPair | pair | ) |
Returns the result of the comparison operation self > pair.
| pair | The STPair instance to be compared with. |