Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

collect.h

Go to the documentation of this file.
00001 /*_############################################################################
00002   _## 
00003   _##  collect.h  
00004   _##
00005   _##  SNMP++v3.2.15
00006   _##  -----------------------------------------------
00007   _##  Copyright (c) 2001-2004 Jochen Katz, Frank Fock
00008   _##
00009   _##  This software is based on SNMP++2.6 from Hewlett Packard:
00010   _##  
00011   _##    Copyright (c) 1996
00012   _##    Hewlett-Packard Company
00013   _##  
00014   _##  ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS.
00015   _##  Permission to use, copy, modify, distribute and/or sell this software 
00016   _##  and/or its documentation is hereby granted without fee. User agrees 
00017   _##  to display the above copyright notice and this license notice in all 
00018   _##  copies of the software and any documentation of the software. User 
00019   _##  agrees to assume all liability for the use of the software; 
00020   _##  Hewlett-Packard and Jochen Katz make no representations about the 
00021   _##  suitability of this software for any purpose. It is provided 
00022   _##  "AS-IS" without warranty of any kind, either express or implied. User 
00023   _##  hereby grants a royalty-free license to any and all derivatives based
00024   _##  upon this software code base. 
00025   _##  
00026   _##  Stuttgart, Germany, Tue Jan  4 21:42:42 CET 2005 
00027   _##  
00028   _##########################################################################*/
00029 /*===================================================================
00030 
00031   Copyright (c) 1999
00032   Hewlett-Packard Company
00033 
00034   ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS.
00035   Permission to use, copy, modify, distribute and/or sell this software
00036   and/or its documentation is hereby granted without fee. User agrees
00037   to display the above copyright notice and this license notice in all
00038   copies of the software and any documentation of the software. User
00039   agrees to assume all liability for the use of the software; Hewlett-Packard
00040   makes no representations about the suitability of this software for any
00041   purpose. It is provided "AS-IS without warranty of any kind,either express
00042   or implied. User hereby grants a royalty-free license to any and all
00043   derivatives based upon this software code base.
00044 
00045 
00046   SNMP++ C O L L E C T . H
00047 
00048   COLLECTION CLASS DEFINITION
00049 
00050   DESIGN + AUTHOR:
00051   Peter E Mellquist
00052 
00053   LANGUAGE:
00054   ANSI C++
00055 
00056   OPERATING SYSTEMS:
00057   Win 32
00058   BSD UNIX
00059 
00060   DESCRIPTION:
00061   Simple Collection classes for SNMP++ classes.
00062 
00063 =====================================================================*/
00064 // $Id: collect.h,v 1.4 2004/03/03 23:11:21 katz Exp $
00065 
00066 #ifndef _COLLECTION_H_
00067 #define _COLLECTION_H_
00068 
00069 #include "snmp_pp/config_snmp_pp.h"
00070 
00071 #ifdef SNMP_PP_NAMESPACE
00072 namespace Snmp_pp {
00073 #endif
00074 
00075 #ifndef TRUE
00076 #define TRUE 1
00077 #endif
00078 
00079 #ifndef FALSE
00080 #define FALSE 0
00081 #endif
00082 
00083 #define MAXT 25     // elements per block
00084 
00085 #ifdef SNMP_PP_NAMESPACE
00086 }; // end of namespace Snmp_pp
00087 #endif 
00088 
00089 // If you have problems with the collection code:
00090 // 1. Send a mail to katz@agentpp.com with details about the used
00091 //    compile flags, compiler (for example g++ -dumpspecs),... 
00092 //    so we can change the default behaviour for your system
00093 // 2. comment in the define _OLD_TEMPLATE_COLLECTION in
00094 //    config_snmp_pp.h
00095 #ifdef _OLD_TEMPLATE_COLLECTION
00096 
00097 #include "snmp_pp/collect2.h"
00098 
00099 #else
00100 
00101 #include "snmp_pp/collect1.h"
00102 
00103 #endif
00104 
00105 #endif  // _COLLECTION_H_
00106 

Generated on Tue Jan 4 22:42:13 2005 for SNMP++ by doxygen 1.3.2