00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef TAO_GIOP_MESSAGE_VERSION_H
00018 #define TAO_GIOP_MESSAGE_VERSION_H
00019
00020 #include "ace/pre.h"
00021
00022 #include "tao/TAO_Export.h"
00023
00024 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00025 # pragma once
00026 #endif
00027
00028 #include "tao/Basic_Types.h"
00029 #include "tao/orbconf.h"
00030
00031 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00032
00033 class TAO_ORB_Core;
00034
00035
00036
00037
00038
00039
00040 class TAO_Export TAO_GIOP_Message_Version
00041 {
00042 public:
00043
00044
00045 CORBA::Octet major;
00046
00047
00048 CORBA::Octet minor;
00049
00050
00051 TAO_GIOP_Message_Version (const TAO_GIOP_Message_Version &src);
00052
00053
00054 TAO_GIOP_Message_Version (CORBA::Octet maj = TAO_DEF_GIOP_MAJOR,
00055 CORBA::Octet min = TAO_DEF_GIOP_MINOR);
00056
00057
00058 void set_version (CORBA::Octet maj, CORBA::Octet min);
00059
00060
00061 TAO_GIOP_Message_Version &operator= (const TAO_GIOP_Message_Version &src);
00062
00063
00064 bool operator== (const TAO_GIOP_Message_Version &src);
00065 bool operator!= (const TAO_GIOP_Message_Version &src);
00066 };
00067
00068 TAO_END_VERSIONED_NAMESPACE_DECL
00069
00070 #if defined (__ACE_INLINE__)
00071 # include "tao/GIOP_Message_Version.inl"
00072 #endif
00073
00074 #include "ace/post.h"
00075 #endif