a_library.h

Go to the documentation of this file.
00001 ///
00002 /// \file       a_library.h
00003 ///             ALX Library class based on CODSection class
00004 ///
00005 
00006 /*
00007     Copyright (C) 2010, Nicolas VIVIEN
00008     Copyright (C) 2005-2012, Net Direct Inc. (http://www.netdirect.ca/)
00009 
00010     This program is free software; you can redistribute it and/or modify
00011     it under the terms of the GNU General Public License as published by
00012     the Free Software Foundation; either version 2 of the License, or
00013     (at your option) any later version.
00014 
00015     This program is distributed in the hope that it will be useful,
00016     but WITHOUT ANY WARRANTY; without even the implied warranty of
00017     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00018 
00019     See the GNU General Public License in the COPYING file at the
00020     root directory of this project for more details.
00021 */
00022 
00023 #ifndef __BARRY_A_LIBRARY_H__
00024 #define __BARRY_A_LIBRARY_H__
00025 
00026 #include <vector>
00027 
00028 #include "dll.h"
00029 #include "a_codsection.h"
00030 
00031 
00032 namespace Barry {
00033 
00034 namespace ALX {
00035 
00036 
00037 class BXEXPORT Library : public CODSection
00038 {
00039 public:
00040         Library(void);
00041         Library(const xmlpp::SaxParser::AttributeList& attrs);
00042         virtual ~Library(void);
00043 
00044         virtual void Dump(std::ostream &os) const;
00045 };
00046 
00047 
00048 inline std::ostream& operator<<(std::ostream& os, const Library& app)
00049 {
00050         app.Dump(os);
00051         return os;
00052 }
00053 
00054 
00055 } // namespace ALX
00056 
00057 } // namespace Barry
00058 
00059 #endif
00060 
00061