NetworkAdapter.h

Go to the documentation of this file.
00001 /*
00002  *  BEEN: Benchmarking Environment
00003  *  ==============================
00004  *
00005  *  File author: Branislav Repcek
00006  *
00007  *  GNU Lesser General Public License Version 2.1
00008  *  ---------------------------------------------
00009  *  Copyright (C) 2004-2006 Distributed Systems Research Group,
00010  *  Faculty of Mathematics and Physics, Charles University in Prague
00011  *
00012  *  This library is free software; you can redistribute it and/or
00013  *  modify it under the terms of the GNU Lesser General Public
00014  *  License version 2.1, as published by the Free Software Foundation.
00015  *
00016  *  This library is distributed in the hope that it will be useful,
00017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  *  Lesser General Public License for more details.
00020  *
00021  *  You should have received a copy of the GNU Lesser General Public
00022  *  License along with this library; if not, write to the Free Software
00023  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00024  *  MA  02111-1307  USA
00025  */
00026 
00034 #ifndef NETWORK_ADAPTER_INCLUDED
00035 #define NETWORK_ADAPTER_INCLUDED
00036 
00037 #include "XMLFileOutput.h"
00038 #include "UnicodeString.h"
00039 
00040 namespace hwdet
00041 {
00044     class NetworkAdapter : public XMLElement
00045     {
00046     public:
00048         NetworkAdapter(const String &adapter_name, const String &vendor_name, 
00049                        const String &mac_addr, const String &adapter_type);
00050 
00052         String GetName(void) const;
00053 
00055         String GetVendor(void) const;
00056 
00058         String GetMACAddress(void) const;
00059 
00061         String GetType(void) const;
00062 
00063     private:
00064 
00066         XMLValueElement< String > *adap_name;
00067 
00069         XMLValueElement< String > *vendor;
00070 
00072         XMLValueElement< String > *type;
00073 
00075         XMLValueElement< String > *mac;
00076     };
00077 }
00078 
00079 #endif

Generated on Tue Dec 19 17:43:52 2006 for Detector for Windows by  doxygen 1.4.7