OpenDDS  Snapshot(2023/04/28-20:55)
Public Types | Public Member Functions | Public Attributes | List of all members
OpenDDS::ICE::AgentInfo Struct Reference

#include <Ice.h>

Collaboration diagram for OpenDDS::ICE::AgentInfo:
Collaboration graph
[legend]

Public Types

typedef CandidatesType::const_iterator const_iterator
 

Public Member Functions

 AgentInfo ()
 
typedef OPENDDS_VECTOR (Candidate) CandidatesType
 
const_iterator begin () const
 
const_iterator end () const
 
bool operator== (const AgentInfo &other) const
 
bool operator!= (const AgentInfo &other) const
 

Public Attributes

CandidatesType candidates
 
AgentType type
 
std::string username
 
std::string password
 

Detailed Description

Definition at line 67 of file Ice.h.

Member Typedef Documentation

◆ const_iterator

typedef CandidatesType::const_iterator OpenDDS::ICE::AgentInfo::const_iterator

Definition at line 72 of file Ice.h.

Constructor & Destructor Documentation

◆ AgentInfo()

OpenDDS::ICE::AgentInfo::AgentInfo ( )
inline

Definition at line 69 of file Ice.h.

References OpenDDS::ICE::OPENDDS_VECTOR().

69 : type(FULL) {}
AgentType type
Definition: Ice.h:75

Member Function Documentation

◆ begin()

const_iterator OpenDDS::ICE::AgentInfo::begin ( void  ) const
inline

Definition at line 81 of file Ice.h.

Referenced by OpenDDS::ICE::Checklist::get_local_candidate(), and OpenDDS::ICE::Checklist::get_remote_candidate().

82  {
83  return candidates.begin();
84  }
CandidatesType candidates
Definition: Ice.h:74

◆ end()

const_iterator OpenDDS::ICE::AgentInfo::end ( void  ) const
inline

Definition at line 85 of file Ice.h.

Referenced by OpenDDS::ICE::Checklist::get_local_candidate(), and OpenDDS::ICE::Checklist::get_remote_candidate().

86  {
87  return candidates.end();
88  }
CandidatesType candidates
Definition: Ice.h:74

◆ OPENDDS_VECTOR()

typedef OpenDDS::ICE::AgentInfo::OPENDDS_VECTOR ( Candidate  )

◆ operator!=()

bool OpenDDS::ICE::AgentInfo::operator!= ( const AgentInfo other) const
inline

Definition at line 97 of file Ice.h.

References OPENDDS_END_VERSIONED_NAMESPACE_DECL, OpenDDS::ICE::OPENDDS_MAP(), and OPENDDS_STRING.

98  {
99  return !(*this == other);
100  }

◆ operator==()

bool OpenDDS::ICE::AgentInfo::operator== ( const AgentInfo other) const
inline

Definition at line 89 of file Ice.h.

References candidates, password, type, and username.

90  {
91  return
92  this->username == other.username &&
93  this->password == other.password &&
94  this->type == other.type &&
95  this->candidates == other.candidates;
96  }
AgentType type
Definition: Ice.h:75
std::string username
Definition: Ice.h:77
CandidatesType candidates
Definition: Ice.h:74
std::string password
Definition: Ice.h:78

Member Data Documentation

◆ candidates

CandidatesType OpenDDS::ICE::AgentInfo::candidates

◆ password

std::string OpenDDS::ICE::AgentInfo::password

◆ type

AgentType OpenDDS::ICE::AgentInfo::type

◆ username

std::string OpenDDS::ICE::AgentInfo::username

The documentation for this struct was generated from the following file: