![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cPair.h>
Public Member Functions | |
cPair () noexcept | |
cPair (_TYPE_A a, _TYPE_B b) noexcept | |
bool | IsValidIndex (ITERATE_t i) const noexcept |
ITERATE_t | FindIA (_TYPE_A a) const noexcept |
ITERATE_t | FindIB (_TYPE_B b) const noexcept |
bool | FindARetB (_TYPE_A a, _TYPE_B *pb) const noexcept |
bool | FindBRetA (_TYPE_B b, _TYPE_A *pa) const noexcept |
_TYPE_B | FindSortedARetB (_TYPE_A a) const noexcept |
![]() | |
_TYPE_A | get_A () const noexcept |
_TYPE_B | get_B () const noexcept |
_TYPE_A | get_HashCode () const noexcept |
void | put_A (_TYPE_A a) noexcept |
void | put_B (_TYPE_B b) noexcept |
Additional Inherited Members | |
![]() | |
_TYPE_A | m_a |
nullptr or 0 = last in array. (typically sorted by A as primary key) More... | |
_TYPE_B | m_b |
nullptr or 0 = last in array. More... | |
Associated pair of simple things. Like cArrayVal<> is to cArrayStruct<>
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
ASSUME static array. brute force lookup A to return corresponding B
|
inlinenoexcept |
ASSUME static array. brute force lookup B to return corresponding A
|
inlinenoexcept |
ASSUME static array. brute force lookup A
|
inlinenoexcept |
ASSUME static array. brute force lookup B return index
|
inlinenoexcept |
ASSUME sorted static array. Assume _TYPE_A sorted values from min to max.
|
inlinenoexcept |
ASSUME static array. either value is non zero?