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

#include <TypeObject.h>

Collaboration diagram for OpenDDS::XTypes::StronglyConnectedComponentId:
Collaboration graph
[legend]

Public Member Functions

 StronglyConnectedComponentId ()
 
 StronglyConnectedComponentId (const TypeObjectHashId &a_sc_component_id, const ACE_CDR::Long &a_scc_length, const ACE_CDR::Long &a_scc_index)
 
bool operator< (const StronglyConnectedComponentId &other) const
 

Public Attributes

TypeObjectHashId sc_component_id
 
ACE_CDR::Long scc_length
 
ACE_CDR::Long scc_index
 

Detailed Description

Definition at line 614 of file TypeObject.h.

Constructor & Destructor Documentation

◆ StronglyConnectedComponentId() [1/2]

OpenDDS::XTypes::StronglyConnectedComponentId::StronglyConnectedComponentId ( )
inline

Definition at line 619 of file TypeObject.h.

◆ StronglyConnectedComponentId() [2/2]

OpenDDS::XTypes::StronglyConnectedComponentId::StronglyConnectedComponentId ( const TypeObjectHashId a_sc_component_id,
const ACE_CDR::Long a_scc_length,
const ACE_CDR::Long a_scc_index 
)
inline

Definition at line 624 of file TypeObject.h.

627  : sc_component_id(a_sc_component_id)
628  , scc_length(a_scc_length)
629  , scc_index(a_scc_index)
630  {}

Member Function Documentation

◆ operator<()

bool OpenDDS::XTypes::StronglyConnectedComponentId::operator< ( const StronglyConnectedComponentId other) const
inline

Definition at line 632 of file TypeObject.h.

References sc_component_id, scc_index, and scc_length.

633  {
634  if (sc_component_id < other.sc_component_id) return true;
635  if (other.sc_component_id < sc_component_id) return false;
636  if (scc_length < other.scc_length) return true;
637  if (other.scc_length < scc_length) return false;
638  if (scc_index < other.scc_index) return true;
639  if (other.scc_index < scc_index) return false;
640  return false;
641  }

Member Data Documentation

◆ sc_component_id

TypeObjectHashId OpenDDS::XTypes::StronglyConnectedComponentId::sc_component_id

◆ scc_index

ACE_CDR::Long OpenDDS::XTypes::StronglyConnectedComponentId::scc_index

◆ scc_length

ACE_CDR::Long OpenDDS::XTypes::StronglyConnectedComponentId::scc_length

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