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

info_contents.h

Go to the documentation of this file.
00001 // Information implementation -*- C++ -*-
00002 
00003 // Copyright (C) 2001-2003 Hermann Schichl
00004 //
00005 // This file is part of the COCONUT API.  This library
00006 // is free software; you can redistribute it and/or modify it under the
00007 // terms of the Library GNU General Public License as published by the
00008 // Free Software Foundation; either version 2, or (at your option)
00009 // any later version.
00010 
00011 // This library 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 // Library GNU General Public License for more details.
00015 
00016 // As a special exception, you may use this file as part of a free software
00017 // library without restriction.  Specifically, if other files instantiate
00018 // templates or use macros or inline functions from this file, or you compile
00019 // this file and link it with other files to produce an executable, this
00020 // file does not by itself cause the resulting executable to be covered by
00021 // the Library GNU General Public License.  This exception does not however
00022 // invalidate any other reasons why the executable file might be covered by
00023 // the Library GNU General Public License.
00024 
00027 #ifndef _INFO_CONTENTS_H
00028 #define _INFO_CONTENTS_H
00029 
00030 #include <coconut_config.h>
00031 #include <coconut_types.h>
00032 #include <datamap.h>
00033 
00034 class info_contents : public datamap
00035 {
00036 private:
00037   typedef datamap _Base;
00038 
00039 public:
00040   info_contents() : _Base() {}
00041   info_contents(const std::string& __n, const additional_info_u& __v)
00042     : _Base(__n, __v) {}
00043   info_contents(const char* __n, const additional_info_u& __v)
00044     : _Base(__n, __v) {}
00045   info_contents(const info_contents& __c) : _Base(__c) {}
00046   virtual ~info_contents() {}
00047 
00048   info_contents& operator=(const info_contents& __c)
00049   {
00050     ((_Base*)this)->operator=(__c);
00051     return *this;
00052   }
00053 };
00054 
00055 #endif /* _INFO_CONTENTS_H */

Generated on Tue Nov 4 01:57:57 2003 for COCONUT API by doxygen1.2.18