$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: peter_foelsche_at_[hidden]
Date: 2008-08-08 18:01:49
I'm trying to create a type of argument which can occur in the language skill. What do you think? Any other suggestions?
#include <boost/variant.hpp>
#include <vector>
#include <boost/shared_ptr.hpp>
struct CSkillType:boost::variant<int, double, char, std::string, boost::shared_ptr<std::vector<struct CSkillType> > >
{
};
A method callable from skill (and provided in some DLL) would probably look like:
CSkillType function_name(const CCppDataInterface &_rCPPData, const std::vector< CSkillType> &_rSkillArgs);