Polly 20.0.0git
|
#include <plain_cpp.h>
Public Member Functions | |
plain_printer (std::ostream &os, const isl_class &clazz, plain_cpp_generator &generator, bool is_declaration) | |
void | print_persistent_callback_prototype (FunctionDecl *method) |
void | print_persistent_callback_setter_prototype (FunctionDecl *method) |
void | print_full_method_header (const Method &method) |
void | print_callback_data_decl (ParmVarDecl *param, const string &name) |
virtual bool | want_descendent_overloads (const function_set &methods) override |
virtual void | print_public_constructors ()=0 |
virtual void | print_copy_assignment ()=0 |
virtual void | print_destructor ()=0 |
virtual void | print_ptr ()=0 |
virtual void | print_downcast ()=0 |
virtual void | print_ctx ()=0 |
virtual void | print_method_separator ()=0 |
virtual void | print_persistent_callbacks ()=0 |
void | print_public_methods () |
void | print_id_constructor_user_header () |
void | print_id_user_header (bool optional) |
virtual void | print_id_constructor_user ()=0 |
virtual void | print_id_user (bool optional)=0 |
void | print_special_id () |
void | print_special () |
Public Member Functions inherited from cpp_generator::class_printer | |
class_printer (std::ostream &os, const isl_class &clazz, cpp_generator &generator, bool declarations) | |
void | print_constructors () |
void | print_methods () |
bool | next_variant (FunctionDecl *fd, std::vector< bool > &convert) |
void | print_method_variants (FunctionDecl *fd, const std::string &name) |
virtual bool | want_descendent_overloads (const function_set &methods)=0 |
void | print_descendent_overloads (FunctionDecl *fd, const std::string &name) |
void | print_method_group (const function_set &methods, const std::string &name) |
virtual void | print_method (const Method &method)=0 |
virtual void | print_method (const ConversionMethod &method)=0 |
virtual void | print_get_method (FunctionDecl *fd)=0 |
void | print_set_enums (FunctionDecl *fd) |
void | print_set_enums () |
ParmVarDecl * | get_param (FunctionDecl *fd, int pos, const std::vector< bool > &convert) |
void | print_method_header (const Method &method, const cpp_type_printer &type_printer) |
Public Attributes | |
plain_cpp_generator & | generator |
Public Attributes inherited from cpp_generator::class_printer | |
std::ostream & | os |
const isl_class & | clazz |
const std::string | cppstring |
cpp_generator & | generator |
const bool | declarations |
Definition at line 70 of file plain_cpp.h.
|
inline |
Definition at line 73 of file plain_cpp.h.
void plain_cpp_generator::plain_printer::print_callback_data_decl | ( | ParmVarDecl * | param, |
const string & | name | ||
) |
Definition at line 1770 of file plain_cpp.cc.
References osprintf().
|
pure virtual |
Implemented in plain_cpp_generator::decl_printer, and plain_cpp_generator::impl_printer.
|
pure virtual |
Implemented in plain_cpp_generator::decl_printer, and plain_cpp_generator::impl_printer.
|
pure virtual |
Implemented in plain_cpp_generator::decl_printer, and plain_cpp_generator::impl_printer.
|
pure virtual |
Implemented in plain_cpp_generator::decl_printer, and plain_cpp_generator::impl_printer.
void plain_cpp_generator::plain_printer::print_full_method_header | ( | const Method & | method | ) |
Definition at line 1628 of file plain_cpp.cc.
References osprintf(), and plain_cpp_generator::type_printer().
|
pure virtual |
Implemented in plain_cpp_generator::decl_printer, and plain_cpp_generator::impl_printer.
void plain_cpp_generator::plain_printer::print_id_constructor_user_header | ( | ) |
Definition at line 1810 of file plain_cpp.cc.
|
pure virtual |
Implemented in plain_cpp_generator::decl_printer, and plain_cpp_generator::impl_printer.
void plain_cpp_generator::plain_printer::print_id_user_header | ( | bool | optional | ) |
Definition at line 1828 of file plain_cpp.cc.
|
pure virtual |
Implemented in plain_cpp_generator::decl_printer, and plain_cpp_generator::impl_printer.
void plain_cpp_generator::plain_printer::print_persistent_callback_prototype | ( | FunctionDecl * | method | ) |
Definition at line 545 of file plain_cpp.cc.
References add_space_to_return_type(), callback_name(), generator::extract_prototype(), osprintf(), generator::persistent_callback_arg(), and cpp_generator::type2cpp().
void plain_cpp_generator::plain_printer::print_persistent_callback_setter_prototype | ( | FunctionDecl * | method | ) |
Definition at line 574 of file plain_cpp.cc.
References callback_name(), osprintf(), generator::persistent_callback_arg(), and cpp_generator::type2cpp().
|
pure virtual |
Implemented in plain_cpp_generator::decl_printer, and plain_cpp_generator::impl_printer.
|
pure virtual |
Implemented in plain_cpp_generator::decl_printer, and plain_cpp_generator::impl_printer.
|
pure virtual |
Implemented in plain_cpp_generator::decl_printer, and plain_cpp_generator::impl_printer.
void plain_cpp_generator::plain_printer::print_public_methods | ( | ) |
Definition at line 1883 of file plain_cpp.cc.
Referenced by plain_cpp_generator::print_class(), and plain_cpp_generator::print_class_impl().
void plain_cpp_generator::plain_printer::print_special | ( | ) |
Definition at line 1875 of file plain_cpp.cc.
void plain_cpp_generator::plain_printer::print_special_id | ( | ) |
Definition at line 1860 of file plain_cpp.cc.
References on_cplusplus17().
|
overridevirtual |
Implements cpp_generator::class_printer.
Definition at line 1799 of file plain_cpp.cc.
plain_cpp_generator& plain_cpp_generator::plain_printer::generator |
Definition at line 71 of file plain_cpp.h.