Skip to content
Snippets Groups Projects
Commit 91753351 authored by Paweł Kędzia's avatar Paweł Kędzia
Browse files

Updated wrapper for value

parent c070dbcb
Branches
No related merge requests found
......@@ -7,25 +7,32 @@
%}
%include "std_string.i"
%include "boost_shared_ptr.i"
%include "libcorpus/libcorpustagset.i"
%nodefaultctor Wccl::Value;
namespace Wccl {
class Value {
public:
static const char* type_name;
static const char type_name[56];
virtual const char* get_type_name() const;
/* --------------------------------------------------------------------- */
virtual ~Value();
/* --------------------------------------------------------------------- */
virtual std::string make_var_repr(const std::string&) const = 0;
/* --------------------------------------------------------------------- */
virtual std::string to_string(const Corpus2::Tagset& /*tagset*/) const;
virtual std::string to_raw_string() const = 0;
};
}
// %template(BoolSharedPtr) boost::shared_ptr<Wccl::Value>;
}
using namespace boost;
using namespace std;
using namespace Wccl;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment