00001 /* 00002 * Copyright 2011 Tanjeff-Nicolai Moos <tanjeff@cccmz.de> 00003 * 00004 * This file is part of the agentXcpp library. 00005 * 00006 * AgentXcpp is free software: you can redistribute it and/or modify 00007 * it under the terms of the AgentXcpp library license, version 1, which 00008 * consists of the GNU General Public License and some additional 00009 * permissions. 00010 * 00011 * AgentXcpp is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * See the AgentXcpp library license in the LICENSE file of this package 00017 * for more details. 00018 */ 00019 #ifndef _VARIABLE_H_ 00020 #define _VARIABLE_H_ 00021 00022 #include "types.hpp" 00023 00024 /** 00025 * \internal 00026 * 00027 * \brief This class represents a SNMP variable. 00028 * 00029 * It is inherited by more concrete classes. 00030 */ 00031 class variable 00032 { 00033 public: 00034 //virtual data_t serialize(); 00035 00036 // Needed for encoding varbinds 00037 virtual data_t serialize() const = 0; 00038 }; 00039 00040 00041 #endif