Polly 20.0.0git
Public Member Functions | List of all members
plain_cpp_generator::decl_printer Struct Reference

#include <plain_cpp.h>

Inheritance diagram for plain_cpp_generator::decl_printer:
Inheritance graph
[legend]

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_generatorgenerator
 
- Public Attributes inherited from cpp_generator::class_printer
std::ostream & os
 
const isl_classclazz
 
const std::string cppstring
 
cpp_generatorgenerator
 
const bool declarations
 

Detailed Description

Definition at line 103 of file plain_cpp.h.

Constructor & Destructor Documentation

◆ decl_printer()

plain_cpp_generator::decl_printer::decl_printer ( std::ostream &  os,
const isl_class clazz,
plain_cpp_generator generator 
)
inline

Definition at line 106 of file plain_cpp.h.

Member Function Documentation

◆ print_class_factory()

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().

◆ print_copy_assignment()

void plain_cpp_generator::decl_printer::print_copy_assignment ( )
overridevirtual

Implements plain_cpp_generator::plain_printer.

Definition at line 397 of file plain_cpp.cc.

References osprintf().

◆ print_ctx()

void plain_cpp_generator::decl_printer::print_ctx ( )
overridevirtual

Implements plain_cpp_generator::plain_printer.

Definition at line 518 of file plain_cpp.cc.

References osprintf().

◆ print_destructor()

void plain_cpp_generator::decl_printer::print_destructor ( )
overridevirtual

Implements plain_cpp_generator::plain_printer.

Definition at line 408 of file plain_cpp.cc.

References osprintf().

◆ print_downcast()

void plain_cpp_generator::decl_printer::print_downcast ( )
overridevirtual

Implements plain_cpp_generator::plain_printer.

Definition at line 501 of file plain_cpp.cc.

References osprintf().

◆ print_get_method()

void plain_cpp_generator::decl_printer::print_get_method ( FunctionDecl *  fd)
overridevirtual

Implements cpp_generator::class_printer.

Definition at line 648 of file plain_cpp.cc.

◆ print_id_constructor_user()

void plain_cpp_generator::decl_printer::print_id_constructor_user ( )
overridevirtual

Implements plain_cpp_generator::plain_printer.

Definition at line 376 of file plain_cpp.cc.

◆ print_id_user()

void plain_cpp_generator::decl_printer::print_id_user ( bool  optional)
overridevirtual

Implements plain_cpp_generator::plain_printer.

Definition at line 385 of file plain_cpp.cc.

◆ print_isa_type_template()

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().

◆ print_method() [1/2]

void plain_cpp_generator::decl_printer::print_method ( const ConversionMethod method)
overridevirtual

Implements cpp_generator::class_printer.

Definition at line 360 of file plain_cpp.cc.

◆ print_method() [2/2]

void plain_cpp_generator::decl_printer::print_method ( const Method method)
overridevirtual

Implements cpp_generator::class_printer.

Definition at line 368 of file plain_cpp.cc.

◆ print_method_separator()

void plain_cpp_generator::decl_printer::print_method_separator ( )
overridevirtual

Implements plain_cpp_generator::plain_printer.

Definition at line 527 of file plain_cpp.cc.

◆ print_persistent_callback_data()

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().

◆ print_persistent_callbacks()

void plain_cpp_generator::decl_printer::print_persistent_callbacks ( )
overridevirtual

Implements plain_cpp_generator::plain_printer.

Definition at line 627 of file plain_cpp.cc.

References osprintf().

◆ print_protected_constructors()

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().

◆ print_ptr()

void plain_cpp_generator::decl_printer::print_ptr ( )
overridevirtual

Implements plain_cpp_generator::plain_printer.

Definition at line 452 of file plain_cpp.cc.

References name, and osprintf().

◆ print_public_constructors()

void plain_cpp_generator::decl_printer::print_public_constructors ( )
overridevirtual

Implements plain_cpp_generator::plain_printer.

Definition at line 349 of file plain_cpp.cc.

References osprintf().

◆ print_subclass_type()

void plain_cpp_generator::decl_printer::print_subclass_type ( )

The documentation for this struct was generated from the following files: