diff options
author | bala <balanatarajan@users.noreply.github.com> | 2000-03-20 01:58:53 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2000-03-20 01:58:53 +0000 |
commit | 29cba872c098d9774e5ea46957cb17af75e98dfb (patch) | |
tree | 8e76bc5ecbe02375c522a6f8933bbc21edec6e55 /TAO/tao/GIOP_Utils.i | |
parent | 9d4b05a6b8ee3342f4ef226d8250e7d9c00d3da2 (diff) | |
download | ATCD-29cba872c098d9774e5ea46957cb17af75e98dfb.tar.gz |
ChangeLogTag: Sun Mar 19 19:22:34 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/GIOP_Utils.i')
-rw-r--r-- | TAO/tao/GIOP_Utils.i | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/TAO/tao/GIOP_Utils.i b/TAO/tao/GIOP_Utils.i index 300ef553422..ca0908bbcf6 100644 --- a/TAO/tao/GIOP_Utils.i +++ b/TAO/tao/GIOP_Utils.i @@ -1,74 +1 @@ //$Id$ -// -// 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); -} - -// -// Inlined methods for TAO_GIOP_Message_State -// - -ACE_INLINE void -TAO_GIOP_Message_State::reset (int reset_contents) -{ - this->message_size = 0; - this->current_offset = 0; - this->more_fragments = 0; - if (reset_contents) - this->cdr.reset_contents (); -} - -ACE_INLINE CORBA::Boolean -TAO_GIOP_Message_State::header_received (void) const -{ - return this->message_size != 0; -} |