Polly 19.0.0git
Public Member Functions | List of all members
cpp_type_printer Struct Reference

#include <cpp.h>

Inheritance diagram for cpp_type_printer:
Inheritance graph
[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(), to_string(), and 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(), and type.

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

◆ 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, type, and cpp_generator::type2cpp().

◆ param()

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

◆ qualified()

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

Reimplemented in template_cpp_type_printer, and plain_cpp_type_printer.

Definition at line 831 of file cpp.cc.

Referenced by template_cpp_type_printer::qualified().

◆ return_type()

std::string cpp_type_printer::return_type ( const Method method) const

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