#include <boost/archive/binary_oarchive.hpp>#include <boost/archive/binary_iarchive.hpp>#include <boost/archive/xml_oarchive.hpp>#include <boost/archive/xml_iarchive.hpp>#include <boost/serialization/serialization.hpp>#include <string>#include <t2n_exception.hxx>#include <command.hxx>

Go to the source code of this file.
Defines | |
| #define | LIBT2N_EXPORT __attribute((gccxml("libt2n-default"))) |
| mark a function to export it via libt2n | |
| #define | LIBT2N_DEFAULT_ARG(type, value) __attribute((gccxml("libt2n-default-arg",#value))) type = value |
| tell libt2n about a default argument | |
| #define LIBT2N_DEFAULT_ARG | ( | type, | |||
| value | ) | __attribute((gccxml("libt2n-default-arg",#value))) type = value |
tell libt2n about a default argument
| type | type of the default argument | |
| value | default value |
LIBT2N_EXPORT std::string testfunc(LIBT2N_DEFAULT_ARG(const std::string str&,"hello world")) { // your code here }
| #define LIBT2N_EXPORT __attribute((gccxml("libt2n-default"))) |
mark a function to export it via libt2n
LIBT2N_EXPORT std::string testfunc(const std::string &str) { // your code here }
1.5.6