gauge.cpp
来自「JdonFramework need above jdk 1.4.0 This」· C++ 代码 · 共 84 行
CPP
84 行
/*_############################################################################ _## _## gauge.cpp _## _## SNMP++v3.2.21a _## ----------------------------------------------- _## Copyright (c) 2001-2006 Jochen Katz, Frank Fock _## _## This software is based on SNMP++2.6 from Hewlett Packard: _## _## Copyright (c) 1996 _## 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 and Jochen Katz make 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. _## _## Stuttgart, Germany, Tue Nov 21 22:12:16 CET 2006 _## _##########################################################################*//*=================================================================== Copyright (c) 1999 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. G A U G E. C P P GAUGE32 CLASS IMPLEMTATION DESIGN + AUTHOR: Peter E Mellquist LANGUAGE: ANSI C++ OPERATING SYSTEMS: MS-Windows Win32 BSD UNIX DESCRIPTION: Class implemtation for SMI Gauge32 class.=====================================================================*/char gauge_cpp_version[]="@(#) SNMP++ $Id: gauge.cpp,v 1.4 2004/03/03 23:11:21 katz Exp $";#include "snmp_pp/gauge.h" // header file for gauge class#ifdef SNMP_PP_NAMESPACEnamespace Snmp_pp {#endif// copy constructorGauge32::Gauge32(const Gauge32 &g32) : SnmpUInt32(){ smival.value.uNumber = g32.smival.value.uNumber; smival.syntax = sNMP_SYNTAX_GAUGE32;}#ifdef SNMP_PP_NAMESPACE}; // end of namespace Snmp_pp#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?