Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_GIOP_Message_Version Class Reference

Major and Minor version number of the Inter-ORB Protocol. More...

#include <GIOP_Message_Version.h>

List of all members.

Public Methods

 TAO_GIOP_Message_Version (const TAO_GIOP_Message_Version &src)
 Copy constructor. More...

 TAO_GIOP_Message_Version (CORBA::Octet maj=TAO_DEF_GIOP_MAJOR, CORBA::Octet min=TAO_DEF_GIOP_MINOR)
 Default constructor. More...

 ~TAO_GIOP_Message_Version (void)
 Destructor. More...

void set_version (CORBA::Octet maj, CORBA::Octet min)
 Explicitly set the major and minor version. More...

TAO_GIOP_Message_Version & operator= (const TAO_GIOP_Message_Version &src)
 Copy operator. More...

int operator== (const TAO_GIOP_Message_Version &src)
 Equality operator. More...

int operator!= (const TAO_GIOP_Message_Version &src)

Public Attributes

CORBA::Octet major
 Major version number. More...

CORBA::Octet minor
 Minor version number. More...


Detailed Description

Major and Minor version number of the Inter-ORB Protocol.

Definition at line 35 of file GIOP_Message_Version.h.


Constructor & Destructor Documentation

ACE_INLINE TAO_GIOP_Message_Version::TAO_GIOP_Message_Version const TAO_GIOP_Message_Version &    src
 

Copy constructor.

Definition at line 5 of file GIOP_Message_Version.inl.

00007   : major (src.major),
00008     minor (src.minor)
00009 {
00010 }

ACE_INLINE TAO_GIOP_Message_Version::TAO_GIOP_Message_Version CORBA::Octet    maj = TAO_DEF_GIOP_MAJOR,
CORBA::Octet    min = TAO_DEF_GIOP_MINOR
 

Default constructor.

Definition at line 13 of file GIOP_Message_Version.inl.

00015   : major (maj),
00016     minor (min)
00017 {
00018 }

ACE_INLINE TAO_GIOP_Message_Version::~TAO_GIOP_Message_Version void   
 

Destructor.

Definition at line 21 of file GIOP_Message_Version.inl.

00022 {
00023 }


Member Function Documentation

ACE_INLINE int TAO_GIOP_Message_Version::operator!= const TAO_GIOP_Message_Version &    src
 

Definition at line 54 of file GIOP_Message_Version.inl.

00056 {
00057   return !(*this == src);
00058 }

ACE_INLINE TAO_GIOP_Message_Version & TAO_GIOP_Message_Version::operator= const TAO_GIOP_Message_Version &    src
 

Copy operator.

Definition at line 26 of file GIOP_Message_Version.inl.

References major, and minor.

00028 {
00029   if (this == &src)
00030     return *this;
00031 
00032   this->major = src.major;
00033   this->minor = src.minor;
00034   return *this;
00035 }

ACE_INLINE int TAO_GIOP_Message_Version::operator== const TAO_GIOP_Message_Version &    src
 

Equality operator.

Definition at line 47 of file GIOP_Message_Version.inl.

References major, and minor.

00049 {
00050   return this->major == src.major && this->minor == src.minor;
00051 }

ACE_INLINE void TAO_GIOP_Message_Version::set_version CORBA::Octet    maj,
CORBA::Octet    min
 

Explicitly set the major and minor version.

Definition at line 39 of file GIOP_Message_Version.inl.

References major, and minor.

Referenced by TAO_IIOP_Acceptor::open, and TAO_IIOP_Acceptor::open_default.

00041 {
00042   this->major = maj;
00043   this->minor = min;
00044 }


Member Data Documentation

CORBA::Octet TAO_GIOP_Message_Version::major
 

Major version number.

Definition at line 40 of file GIOP_Message_Version.h.

Referenced by TAO_IIOP_Acceptor::create_new_profile, TAO_IIOP_Profile::create_profile_body, TAO_IIOP_Acceptor::create_shared_profile, TAO_IIOP_Profile::decode, operator=, operator==, TAO_GIOP_Invocation::perform_call, TAO_GIOP_Message_State::set_byte_order_info_from_buffer, set_version, TAO_GIOP_Message_State::set_version_info_from_buffer, and TAO_Profile::verify_profile_version.

CORBA::Octet TAO_GIOP_Message_Version::minor
 

Minor version number.

Definition at line 43 of file GIOP_Message_Version.h.

Referenced by TAO_IIOP_Acceptor::create_new_profile, TAO_IIOP_Profile::create_profile_body, TAO_IIOP_Acceptor::create_shared_profile, TAO_IIOP_Profile::decode, TAO_IIOP_Profile::hash, operator=, operator==, TAO_GIOP_Message_State::parse_fragment_header, TAO_GIOP_Invocation::perform_call, TAO_GIOP_Message_State::set_byte_order_info_from_buffer, set_version, TAO_GIOP_Message_State::set_version_info_from_buffer, and TAO_Profile::verify_profile_version.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:16:54 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002