Peano
Loading...
Searching...
No Matches
printers.cpp_printer Class Reference
Inheritance diagram for printers.cpp_printer:
Collaboration diagram for printers.cpp_printer:

Public Member Functions

 __init__ (self, kernel, str name="time_step")
 
 indent (self, val=0, force=False)
 
 loop (self, expr, direction, below, struct_inclusion)
 
 alloc (self, item)
 
 heritage (self, item)
 
 Cppify (self, item)
 
 parse (self)
 
 file (cpp_printer self, str name='test.cpp', header=None)
 
 here (self)
 

Data Fields

 INDENT
 
 code
 
- Data Fields inherited from printers.CodePrinter
 kernel
 
 code
 

Detailed Description

Definition at line 63 of file printers.py.

Constructor & Destructor Documentation

◆ __init__()

printers.cpp_printer.__init__ ( self,
kernel,
str name = "time_step" )

Reimplemented from printers.CodePrinter.

Definition at line 66 of file printers.py.

References printers.cpp_printer.__init__().

Referenced by printers.cpp_printer.__init__().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ alloc()

◆ Cppify()

printers.cpp_printer.Cppify ( self,
item )

Definition at line 215 of file printers.py.

References printers.cpp_printer.heritage(), and printers.CodePrinter.kernel.

Here is the call graph for this function:

◆ file()

printers.cpp_printer.file ( cpp_printer self,
str name = 'test.cpp',
header = None )

Reimplemented from printers.CodePrinter.

Definition at line 333 of file printers.py.

References exahypype.kernel.code, kernel_impl.impl.code, printers.CodePrinter.code, printers.cpp_printer.code, printers.MLIRPrinter.code, and printers.cpp_printer.file().

Referenced by exahypype.kernel.__del__(), and printers.cpp_printer.file().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ here()

printers.cpp_printer.here ( self)

◆ heritage()

printers.cpp_printer.heritage ( self,
item )

Definition at line 194 of file printers.py.

References printers.CodePrinter.kernel.

Referenced by printers.cpp_printer.Cppify().

Here is the caller graph for this function:

◆ indent()

◆ loop()

◆ parse()

Field Documentation

◆ code

◆ INDENT

printers.cpp_printer.INDENT

The documentation for this class was generated from the following file: