// -*- C++ -*- //$Id$ // // @@ Bala: is this comment useful at all? I mean, everybody can read // C++, it is *OBVIOUS* that they are inlined methods, and what class // they belong to, right? // // Inlined methods for TAO_GIOP_Version // ACE_INLINE TAO_GIOP_Version::TAO_GIOP_Version (const TAO_GIOP_Version &src) : major (src.major), minor (src.minor) { } ACE_INLINE TAO_GIOP_Version::TAO_GIOP_Version (CORBA::Octet maj, CORBA::Octet min) : major (maj), minor (min) { } ACE_INLINE TAO_GIOP_Version::~TAO_GIOP_Version (void) { } ACE_INLINE TAO_GIOP_Version & TAO_GIOP_Version::operator= (const TAO_GIOP_Version &src) { if (this == &src) return *this; this->major = src.major; this->minor = src.minor; return *this; } ACE_INLINE void TAO_GIOP_Version::set_version (CORBA::Octet maj, CORBA::Octet min) { this->major = maj; this->minor = min; } ACE_INLINE int TAO_GIOP_Version::operator== (const TAO_GIOP_Version &src) { return this->major == src.major && this->minor == src.minor; } ACE_INLINE int TAO_GIOP_Version::operator!= (const TAO_GIOP_Version &src) { return !(*this == src); } // **************************************************************** // @@ Bala: we use the stars to separate classes in ACE+TAO // // Inlined methods for TAO_GIOP_Message_State // ACE_INLINE void TAO_GIOP_Message_State::reset (int /*reset_contents*/) { this->message_size = 0; this->more_fragments = 0; } ACE_INLINE CORBA::Boolean TAO_GIOP_Message_State::header_received (void) const { return this->message_size != 0; }