Polly 22.0.0git
cpp_type_printer Struct Reference

#include <cpp.h>

Inheritance diagram for cpp_type_printer:
[legend]

Public Member Functions

 cpp_type_printer ()
virtual std::string isl_bool () const
virtual std::string isl_stat () const
virtual std::string isl_size () const
virtual std::string isl_namespace () const
virtual std::string class_type (const std::string &cpp_name) const
virtual std::string qualified (int arg, const std::string &cpp_type) const
std::string isl_type (int arg, QualType type) const
std::string generate_callback_args (int arg, QualType type, bool cpp) const
std::string generate_callback_type (int arg, QualType type) const
std::string param (int arg, QualType type) const
std::string return_type (const Method &method) const

Detailed Description

Definition at line 131 of file cpp.h.

Constructor & Destructor Documentation

◆ cpp_type_printer()

cpp_type_printer::cpp_type_printer ( )
inline

Definition at line 132 of file cpp.h.

Member Function Documentation

◆ class_type()

std::string cpp_type_printer::class_type ( const std::string & cpp_name) const
virtual

Reimplemented in template_method_type_printer.

Definition at line 821 of file cpp.cc.

Referenced by cpp_generator::class_printer::print_method_header().

◆ generate_callback_args()

std::string cpp_type_printer::generate_callback_args ( int arg,
QualType type,
bool cpp ) const

Definition at line 684 of file cpp.cc.

References arg, generator::extract_prototype(), param(), to_string(), and type.

Referenced by generate_callback_type().

◆ generate_callback_type()

std::string cpp_type_printer::generate_callback_type ( int arg,
QualType type ) const

Definition at line 725 of file cpp.cc.

References arg, generator::extract_prototype(), generate_callback_args(), param(), return_type(), and type.

Referenced by param().

◆ isl_bool()

std::string cpp_type_printer::isl_bool ( ) const
virtual

Reimplemented in checked_cpp_type_printer.

Definition at line 783 of file cpp.cc.

◆ isl_namespace()

std::string cpp_type_printer::isl_namespace ( ) const
virtual

Reimplemented in checked_cpp_type_printer.

Definition at line 812 of file cpp.cc.

Referenced by template_cpp_generator::add_template_class(), and qualified().

◆ isl_size()

string cpp_type_printer::isl_size ( ) const
virtual

Reimplemented in checked_cpp_type_printer.

Definition at line 803 of file cpp.cc.

◆ isl_stat()

string cpp_type_printer::isl_stat ( ) const
virtual

Reimplemented in checked_cpp_type_printer.

Definition at line 793 of file cpp.cc.

◆ isl_type()

std::string cpp_type_printer::isl_type ( int arg,
QualType type ) const

Definition at line 840 of file cpp.cc.

References arg, name, qualified(), type, and cpp_generator::type2cpp().

Referenced by param().

◆ param()

◆ qualified()

std::string cpp_type_printer::qualified ( int arg,
const std::string & cpp_type ) const
virtual

Reimplemented in plain_cpp_type_printer, and template_cpp_type_printer.

Definition at line 831 of file cpp.cc.

References arg, and isl_namespace().

Referenced by isl_type(), and template_cpp_type_printer::qualified().

◆ return_type()


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