Contact type class¶
-
template<>
struct std::hash<mdk::ContactType>¶ - #include <ContactType.hpp>
A
std::hash
instantiation forContactType
, allows us to useContactType
as keys in STL maps.Public Functions
-
inline size_t operator()(mdk::ContactType const &resType) const¶
-
inline size_t operator()(mdk::ContactType const &resType) const¶
-
namespace mdk
Enums
-
enum ContactTypeIdx
An underlying contact type index.
Values:
-
enumerator NAT
-
enumerator NAT_BB
-
enumerator NAT_BS
-
enumerator NAT_SB
-
enumerator NAT_SS
-
enumerator SSBOND
-
enumerator NAT
-
class ContactType
- #include <ContactType.hpp>
An object representing a contact type, along with a number of facilities, conversions from/to other types etc.
Public Functions
-
ContactType() = default
-
inline explicit constexpr ContactType(ContactTypeIdx code)
-
explicit operator ContactTypeIdx const&() const
-
inline constexpr ContactType(int8_t x)
-
operator int8_t() const
-
explicit ContactType(std::string const &name)
-
explicit operator std::string() const
Private Members
-
ContactTypeIdx code
Friends
- friend struct std::hash< ContactType >
-
ContactType() = default
-
enum ContactTypeIdx
-
namespace std
- template<> ContactType >
- #include <ContactType.hpp>
A
std::hash
instantiation forContactType
, allows us to useContactType
as keys in STL maps.Public Functions
-
inline size_t operator()(mdk::ContactType const &resType) const¶
-
inline size_t operator()(mdk::ContactType const &resType) const¶