CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
codeproject::inv_pair< first_type_, second_type_ > Struct Template Reference

#include <bimap.h>

Public Types

typedef first_type_ first_type
typedef second_type_ second_type

Public Member Functions

 inv_pair ()
 inv_pair (const first_type &first, const second_type &second)
 inv_pair (const std::pair< first_type, second_type > &r)
template<typename F, typename S>
 inv_pair (const inv_pair< F, S > &r)
 operator direct_pair< second_type, first_type > & ()
 operator const direct_pair< second_type, first_type > & () const

Public Attributes

second_type second
first_type first

Detailed Description

template<typename first_type_, typename second_type_>
struct codeproject::inv_pair< first_type_, second_type_ >

Definition at line 218 of file bimap.h.

Member Typedef Documentation

◆ first_type

template<typename first_type_, typename second_type_>
typedef first_type_ codeproject::inv_pair< first_type_, second_type_ >::first_type

Definition at line 220 of file bimap.h.

◆ second_type

template<typename first_type_, typename second_type_>
typedef second_type_ codeproject::inv_pair< first_type_, second_type_ >::second_type

Definition at line 221 of file bimap.h.

Constructor & Destructor Documentation

◆ inv_pair() [1/4]

template<typename first_type_, typename second_type_>
codeproject::inv_pair< first_type_, second_type_ >::inv_pair ( )
inline

Definition at line 226 of file bimap.h.

◆ inv_pair() [2/4]

template<typename first_type_, typename second_type_>
codeproject::inv_pair< first_type_, second_type_ >::inv_pair ( const first_type & first,
const second_type & second )
inline

Definition at line 227 of file bimap.h.

◆ inv_pair() [3/4]

template<typename first_type_, typename second_type_>
codeproject::inv_pair< first_type_, second_type_ >::inv_pair ( const std::pair< first_type, second_type > & r)
inline

Definition at line 228 of file bimap.h.

◆ inv_pair() [4/4]

template<typename first_type_, typename second_type_>
template<typename F, typename S>
codeproject::inv_pair< first_type_, second_type_ >::inv_pair ( const inv_pair< F, S > & r)
inline

Definition at line 230 of file bimap.h.

Member Function Documentation

◆ operator const direct_pair< second_type, first_type > &()

template<typename first_type_, typename second_type_>
codeproject::inv_pair< first_type_, second_type_ >::operator const direct_pair< second_type, first_type > & ( ) const
inline

Definition at line 237 of file bimap.h.

◆ operator direct_pair< second_type, first_type > &()

template<typename first_type_, typename second_type_>
codeproject::inv_pair< first_type_, second_type_ >::operator direct_pair< second_type, first_type > & ( )
inline

Definition at line 232 of file bimap.h.

Member Data Documentation

◆ first

◆ second


The documentation for this struct was generated from the following file:
  • /home/ubuntu/c/partner/psyclone2/CMSDK/include/bimap.h