Polly 20.0.0git
|
#include <plain_cpp.h>
Public Member Functions | |
decl_printer (std::ostream &os, const isl_class &clazz, plain_cpp_generator &generator) | |
void | print_subclass_type () |
void | print_class_factory (const std::string &prefix=std::string()) |
void | print_protected_constructors () |
virtual void | print_copy_assignment () override |
virtual void | print_public_constructors () override |
virtual void | print_destructor () override |
virtual void | print_ptr () override |
void | print_isa_type_template (int indent, const isl_class &super) |
virtual void | print_downcast () override |
virtual void | print_ctx () override |
virtual void | print_method_separator () override |
void | print_persistent_callback_data (FunctionDecl *method) |
virtual void | print_persistent_callbacks () override |
virtual void | print_method (const Method &method) override |
virtual void | print_method (const ConversionMethod &method) override |
virtual void | print_get_method (FunctionDecl *fd) override |
virtual void | print_id_constructor_user () override |
virtual void | print_id_user (bool optional) override |
Public Member Functions inherited from plain_cpp_generator::plain_printer | |
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) |
Additional Inherited Members | |
Public Attributes inherited from plain_cpp_generator::plain_printer | |
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 103 of file plain_cpp.h.
|
inline |
Definition at line 106 of file plain_cpp.h.
void plain_cpp_generator::decl_printer::print_class_factory | ( | const std::string & | prefix = std::string() | ) |
Definition at line 299 of file plain_cpp.cc.
References name, and osprintf().
Referenced by plain_cpp_generator::print_class().
|
overridevirtual |
Implements plain_cpp_generator::plain_printer.
Definition at line 397 of file plain_cpp.cc.
References osprintf().
|
overridevirtual |
Implements plain_cpp_generator::plain_printer.
Definition at line 518 of file plain_cpp.cc.
References osprintf().
|
overridevirtual |
Implements plain_cpp_generator::plain_printer.
Definition at line 408 of file plain_cpp.cc.
References osprintf().
|
overridevirtual |
Implements plain_cpp_generator::plain_printer.
Definition at line 501 of file plain_cpp.cc.
References osprintf().
|
overridevirtual |
Implements cpp_generator::class_printer.
Definition at line 648 of file plain_cpp.cc.
|
overridevirtual |
Implements plain_cpp_generator::plain_printer.
Definition at line 376 of file plain_cpp.cc.
|
overridevirtual |
Implements plain_cpp_generator::plain_printer.
Definition at line 385 of file plain_cpp.cc.
void plain_cpp_generator::decl_printer::print_isa_type_template | ( | int | indent, |
const isl_class & | super | ||
) |
Definition at line 477 of file plain_cpp.cc.
References isl_class::fn_type, and osprintf().
|
overridevirtual |
Implements cpp_generator::class_printer.
Definition at line 360 of file plain_cpp.cc.
|
overridevirtual |
Implements cpp_generator::class_printer.
Definition at line 368 of file plain_cpp.cc.
|
overridevirtual |
Implements plain_cpp_generator::plain_printer.
Definition at line 527 of file plain_cpp.cc.
void plain_cpp_generator::decl_printer::print_persistent_callback_data | ( | FunctionDecl * | method | ) |
Definition at line 600 of file plain_cpp.cc.
References callback_name(), osprintf(), and generator::persistent_callback_arg().
|
overridevirtual |
Implements plain_cpp_generator::plain_printer.
Definition at line 627 of file plain_cpp.cc.
References osprintf().
void plain_cpp_generator::decl_printer::print_protected_constructors | ( | ) |
Definition at line 328 of file plain_cpp.cc.
References name, and osprintf().
Referenced by plain_cpp_generator::print_class().
|
overridevirtual |
Implements plain_cpp_generator::plain_printer.
Definition at line 452 of file plain_cpp.cc.
References name, and osprintf().
|
overridevirtual |
Implements plain_cpp_generator::plain_printer.
Definition at line 349 of file plain_cpp.cc.
References osprintf().
void plain_cpp_generator::decl_printer::print_subclass_type | ( | ) |
Definition at line 205 of file plain_cpp.cc.
References cpp_generator::class_printer::clazz, cpp_generator::class_printer::cppstring, isl_class::is_type_subclass(), cpp_generator::class_printer::os, osprintf(), isl_class::subclass_name, isl_class::superclass_name, and cpp_generator::type2cpp().
Referenced by plain_cpp_generator::print_class().