Polly 20.0.0git
Public Member Functions | Public Attributes | List of all members
plain_cpp_generator::plain_printer Struct Referenceabstract

#include <plain_cpp.h>

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

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_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 70 of file plain_cpp.h.

Constructor & Destructor Documentation

◆ plain_printer()

plain_cpp_generator::plain_printer::plain_printer ( std::ostream &  os,
const isl_class clazz,
plain_cpp_generator generator,
bool  is_declaration 
)
inline

Definition at line 73 of file plain_cpp.h.

Member Function Documentation

◆ print_callback_data_decl()

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

◆ print_copy_assignment()

virtual void plain_cpp_generator::plain_printer::print_copy_assignment ( )
pure virtual

◆ print_ctx()

virtual void plain_cpp_generator::plain_printer::print_ctx ( )
pure virtual

◆ print_destructor()

virtual void plain_cpp_generator::plain_printer::print_destructor ( )
pure virtual

◆ print_downcast()

virtual void plain_cpp_generator::plain_printer::print_downcast ( )
pure virtual

◆ print_full_method_header()

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

◆ print_id_constructor_user()

virtual void plain_cpp_generator::plain_printer::print_id_constructor_user ( )
pure virtual

◆ print_id_constructor_user_header()

void plain_cpp_generator::plain_printer::print_id_constructor_user_header ( )

Definition at line 1810 of file plain_cpp.cc.

◆ print_id_user()

virtual void plain_cpp_generator::plain_printer::print_id_user ( bool  optional)
pure virtual

◆ print_id_user_header()

void plain_cpp_generator::plain_printer::print_id_user_header ( bool  optional)

Definition at line 1828 of file plain_cpp.cc.

◆ print_method_separator()

virtual void plain_cpp_generator::plain_printer::print_method_separator ( )
pure virtual

◆ print_persistent_callback_prototype()

void plain_cpp_generator::plain_printer::print_persistent_callback_prototype ( FunctionDecl *  method)

◆ print_persistent_callback_setter_prototype()

void plain_cpp_generator::plain_printer::print_persistent_callback_setter_prototype ( FunctionDecl *  method)

◆ print_persistent_callbacks()

virtual void plain_cpp_generator::plain_printer::print_persistent_callbacks ( )
pure virtual

◆ print_ptr()

virtual void plain_cpp_generator::plain_printer::print_ptr ( )
pure virtual

◆ print_public_constructors()

virtual void plain_cpp_generator::plain_printer::print_public_constructors ( )
pure virtual

◆ print_public_methods()

void plain_cpp_generator::plain_printer::print_public_methods ( )

◆ print_special()

void plain_cpp_generator::plain_printer::print_special ( )

Definition at line 1875 of file plain_cpp.cc.

◆ print_special_id()

void plain_cpp_generator::plain_printer::print_special_id ( )

Definition at line 1860 of file plain_cpp.cc.

References on_cplusplus17().

◆ want_descendent_overloads()

bool plain_cpp_generator::plain_printer::want_descendent_overloads ( const function_set methods)
overridevirtual

Implements cpp_generator::class_printer.

Definition at line 1799 of file plain_cpp.cc.

Member Data Documentation

◆ generator

plain_cpp_generator& plain_cpp_generator::plain_printer::generator

Definition at line 71 of file plain_cpp.h.


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