1#ifndef ISL_INTERFACE_PLAIN_CPP_H
2#define ISL_INTERFACE_PLAIN_CPP_H
18 virtual std::string
isl_bool()
const override;
19 virtual std::string
isl_stat()
const override;
20 virtual std::string
isl_size()
const override;
37 set<RecordDecl *> &exported_types,
38 set<FunctionDecl *> exported_functions,
39 set<FunctionDecl *> functions,
51 const isl_class &clazz, FunctionDecl *fd);
53 const char *checked_code);
55 bool load_from_this_ptr);
void print_class_forward_decl(ostream &os, const isl_class &clazz)
void print_check_no_persistent_callback(ostream &os, const isl_class &clazz, FunctionDecl *fd)
void print_invalid(ostream &os, int indent, const char *msg, const char *checked_code)
void print_class_impl(ostream &os, const isl_class &clazz)
void print_class(ostream &os, const isl_class &clazz)
void print_declarations(ostream &os)
string generate_callback_args(QualType type, bool cpp)
string param2cpp(QualType type)
void print_method_param_use(ostream &os, ParmVarDecl *param, bool load_from_this_ptr)
string generate_callback_type(QualType type)
void print_implementations(ostream &os)
std::unique_ptr< cpp_type_printer > type_printer()
std::string get_return_type(const Method &method)
void print_forward_declarations(ostream &os)
std::set< FunctionDecl *, function_name_less > function_set
virtual std::string isl_stat() const override
virtual std::string isl_bool() const override
virtual std::string isl_namespace() const override
virtual std::string isl_size() const override
virtual void print_id_constructor_user() override
virtual void print_downcast() override
decl_printer(std::ostream &os, const isl_class &clazz, plain_cpp_generator &generator)
virtual void print_persistent_callbacks() override
virtual void print_id_user(bool optional) override
virtual void print_method_separator() override
void print_persistent_callback_data(FunctionDecl *method)
virtual void print_method(const Method &method) override
virtual void print_get_method(FunctionDecl *fd) override
virtual void print_ptr() override
virtual void print_copy_assignment() override
void print_subclass_type()
virtual void print_ctx() override
void print_isa_type_template(int indent, const isl_class &super)
virtual void print_destructor() override
virtual void print_public_constructors() override
void print_class_factory(const std::string &prefix=std::string())
void print_protected_constructors()
void print_check_ptr(const char *ptr)
void print_save_ctx(const std::string &ctx)
void print_set_persistent_callback(const Method &method)
virtual void print_persistent_callbacks() override
virtual void print_copy_assignment() override
virtual void print_ctx() override
virtual void print_destructor() override
void print_wrapped_call(int indent, const std::string &call, QualType rtype)
void print_on_error_continue()
virtual void print_id_constructor_user() override
void print_protected_constructors()
void print_arg_conversion(ParmVarDecl *dst, ParmVarDecl *src)
void print_callback_local(ParmVarDecl *param)
void print_argument_validity_check(const Method &method)
virtual void print_method_separator() override
virtual void print_public_constructors() override
void print_method_return(const Method &method)
void print_class_factory()
virtual void print_id_user(bool optional) override
void print_check_ptr_start(const char *ptr)
impl_printer(std::ostream &os, const isl_class &clazz, plain_cpp_generator &generator)
void print_wrapped_call_checked(int indent, const std::string &call)
virtual void print_method(const Method &method) override
void print_check_ptr_end(const char *ptr)
void print_exceptional_execution_check(const Method &method)
virtual void print_downcast() override
virtual void print_ptr() override
void print_callback_body(int indent, ParmVarDecl *param, const string &name)
void print_stream_insertion()
virtual void print_get_method(FunctionDecl *fd) override
virtual void print_ptr()=0
virtual void print_id_user(bool optional)=0
virtual void print_downcast()=0
virtual void print_persistent_callbacks()=0
void print_persistent_callback_setter_prototype(FunctionDecl *method)
virtual void print_public_constructors()=0
void print_id_constructor_user_header()
virtual void print_copy_assignment()=0
virtual void print_destructor()=0
virtual void print_method_separator()=0
void print_persistent_callback_prototype(FunctionDecl *method)
void print_callback_data_decl(ParmVarDecl *param, const string &name)
virtual void print_id_constructor_user()=0
virtual void print_ctx()=0
void print_full_method_header(const Method &method)
plain_cpp_generator & generator
virtual bool want_descendent_overloads(const function_set &methods) override
void print_public_methods()
plain_printer(std::ostream &os, const isl_class &clazz, plain_cpp_generator &generator, bool is_declaration)
void print_id_user_header(bool optional)