libt2n 0.6
codegen-stubhead.hxx
Go to the documentation of this file.
00001 /*
00002 The software in this package is distributed under the GNU General
00003 Public License version 2 (with a special exception described below).
00004 
00005 A copy of GNU General Public License (GPL) is included in this distribution,
00006 in the file COPYING.GPL.
00007 
00008 As a special exception, if other files instantiate templates or use macros
00009 or inline functions from this file, or you compile this file and link it
00010 with other works to produce a work based on this file, this file
00011 does not by itself cause the resulting work to be covered
00012 by the GNU General Public License.
00013 
00014 However the source code for this file must still be made available
00015 in accordance with section (3) of the GNU General Public License.
00016 
00017 This exception does not invalidate any other reasons why a work based
00018 on this file might be covered by the GNU General Public License.
00019 */
00020 #ifndef MINIMALISTIC_STUB_HXX
00021 #define MINIMALISTIC_STUB_HXX
00022 
00023 #include <boost/archive/binary_oarchive.hpp>
00024 #include <boost/archive/binary_iarchive.hpp>
00025 #include <boost/archive/xml_oarchive.hpp>
00026 #include <boost/archive/xml_iarchive.hpp>
00027 #include <boost/serialization/serialization.hpp>
00028 
00029 #include <string>
00030 #include <t2n_exception.hxx>
00031 #include <command.hxx>
00032 
00033 #ifdef __GCCXML__
00034 // used during parsing run with gccxml
00035 
00045 #define LIBT2N_EXPORT __attribute((gccxml("libt2n-default")))
00046 
00047 
00061 #define LIBT2N_DEFAULT_ARG(type,value) __attribute((gccxml("libt2n-default-arg",#value))) type = value
00062 
00063 #else
00064 // used during regular compile
00065 
00066 #define LIBT2N_EXPORT
00067 #define LIBT2N_DEFAULT_ARG(type,value) type = value
00068 
00069 #endif
00070 
00071 #endif
© Intra2net AG 2014
Contact