Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt *BitShift(const int Bits) const; | Apply binary shift by number of Bits to the left (positive) or right (negative) for all elements in the calling object. |
| 2 | TMtxVecInt *BitShift(const int Bits, const int Index, const int Len) const; | Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in the calling object. |
| 3 | TMtxVecInt *BitShift(TMtxVecInt *Src, const int Bits, const int SrcIndex, const int Index, const int Len) const; | Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in Src. |
| 4 | TMtxVecInt *BitShift(TMtxVecInt *Src, const int Bits) const; | Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in Src. |
Overload 1: TMtxVecInt *BitShift(const int Bits) const;
Apply binary shift by number of Bits to the left (positive) or right (negative) for all elements in the calling object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Bits | const int |
Returns: the result of binary shift to the left or right by number of Bits applied to values in the calling object and stored back in the calling object. The sign of the numbers is preserved when doing right shift.
Overload 2: TMtxVecInt *BitShift(const int Bits, const int Index, const int Len) const;
Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in the calling object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Bits | const int | |
| 2 | Index | const int | |
| 3 | Len | const int |
Returns: the result of binary shift to the left or right by number of Bits applied to values [Index]..[Index+Len-1] in the calling object and stored back in the calling object. The sign of the numbers is preserved when doing right shift.
Overload 3: TMtxVecInt *BitShift(TMtxVecInt *Src, const int Bits, const int SrcIndex, const int Index, const int Len) const;
Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in Src.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | Bits | const int | |
| 3 | SrcIndex | const int | |
| 4 | Index | const int | |
| 5 | Len | const int |
Returns: the result of binary shift to the left or right by number of Bits applied to Src values [SrcIndex]..[SrcIndex+Len-1] and stored in the calling object (Self) value [Index]..[Index+Len-1]. The sign of the numbers is preserved when doing right shift.
Overload 4: TMtxVecInt *BitShift(TMtxVecInt *Src, const int Bits) const;
Apply binary shift by number of Bits to the left (positive) or right (negative) to elements in Src.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt * | |
| 2 | Bits | const int |
Returns: the result of binary shift to the left or right by number of Bits applied to Src values and stored in the calling object (Self). The sign of the numbers is preserved when doing right shift.