30 printf(
".as<%s%s>()", to,
name.c_str());
40 const char *from,
const char *to,
const char *
function)
44 printf(
"%s%s %s(%s%s obj) {\n",
46 printf(
"\t""return %s""manage(obj.copy())", to);
70 convert(clazz,
"",
"checked::",
"check");
71 convert(clazz,
"checked::",
"",
"uncheck");
80 map<string, isl_class>::iterator ci;
82 printf(
"namespace isl {\n\n");
85 printf(
"} // namespace isl\n");
void cast(const isl_class &clazz, const char *to)
void convert(const isl_class &clazz, const char *from, const char *to, const char *function)
void print(const isl_class &clazz)
static string type2cpp(const isl_class &clazz)
map< string, isl_class > classes
bool is_type_subclass() const