diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
commit | 5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch) | |
tree | 5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ASNMP/asnmp/timetick.h | |
parent | 2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff) | |
download | ATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz |
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ASNMP/asnmp/timetick.h')
-rw-r--r-- | ASNMP/asnmp/timetick.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/ASNMP/asnmp/timetick.h b/ASNMP/asnmp/timetick.h index cc959df4f8b..8e4609c124b 100644 --- a/ASNMP/asnmp/timetick.h +++ b/ASNMP/asnmp/timetick.h @@ -22,15 +22,15 @@ Hewlett-Packard Company ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS. - Permission to use, copy, modify, distribute and/or sell this software - and/or its documentation is hereby granted without fee. User agrees - to display the above copyright notice and this license notice in all - copies of the software and any documentation of the software. User - agrees to assume all liability for the use of the software; Hewlett-Packard - makes no representations about the suitability of this software for any - purpose. It is provided "AS-IS without warranty of any kind,either express - or implied. User hereby grants a royalty-free license to any and all - derivatives based upon this software code base. + Permission to use, copy, modify, distribute and/or sell this software + and/or its documentation is hereby granted without fee. User agrees + to display the above copyright notice and this license notice in all + copies of the software and any documentation of the software. User + agrees to assume all liability for the use of the software; Hewlett-Packard + makes no representations about the suitability of this software for any + purpose. It is provided "AS-IS without warranty of any kind,either express + or implied. User hereby grants a royalty-free license to any and all + derivatives based upon this software code base. =====================================================================*/ #include "asnmp/integer.h" @@ -44,18 +44,18 @@ // class ACE_Export TimeTicks: public SnmpUInt32 // = TITLE - // Define RFC1155 TimeTicks Data object + // Define RFC1155 TimeTicks Data object { - + public: TimeTicks( const unsigned long i = 0); - + TimeTicks( const TimeTicks &t); // copy constructor ~TimeTicks(); - // destructor + // destructor SmiUINT32 get_syntax(); // syntax type @@ -68,18 +68,18 @@ class ACE_Export TimeTicks: public SnmpUInt32 SnmpSyntax& operator=(SnmpSyntax &val); // copy an instance of this Value - - TimeTicks& operator=( const TimeTicks &uli); + + TimeTicks& operator=( const TimeTicks &uli); // overloaded assignment - - TimeTicks& operator=( const unsigned long int i); + + TimeTicks& operator=( const unsigned long int i); // overloaded assignment - + operator unsigned long(); - // otherwise, behave like an unsigned long + // otherwise, behave like an unsigned long protected: - char output_buffer[TICKOUTBUF]; + char output_buffer[TICKOUTBUF]; // for storing printed form -}; +}; #endif // TIMETICKS_ |