Public Member Functions | Public Attributes

TAO_Transport::Drain_Result Struct Reference

#include <Transport.h>

List of all members.

Public Member Functions

 Drain_Result (Drain_Result_Enum dre)
bool operator== (Drain_Result rhs) const
bool operator!= (Drain_Result rhs) const

Public Attributes

Drain_Result_Enum dre_

Detailed Description

The handle_output and drain_queue* functions return objects of this struct instead of the enum value directly so the compiler will catch any uses that assign the return value to an int.

Definition at line 378 of file Transport.h.


Constructor & Destructor Documentation

TAO_Transport::Drain_Result::Drain_Result ( Drain_Result_Enum  dre  )  [inline]

Definition at line 380 of file Transport.h.

: dre_(dre) {}


Member Function Documentation

bool TAO_Transport::Drain_Result::operator!= ( Drain_Result  rhs  )  const [inline]

Definition at line 388 of file Transport.h.

    {
      return this->dre_ != rhs.dre_;
    }

bool TAO_Transport::Drain_Result::operator== ( Drain_Result  rhs  )  const [inline]

Definition at line 383 of file Transport.h.

    {
      return this->dre_ == rhs.dre_;
    }


Member Data Documentation

Definition at line 381 of file Transport.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines