Polly 23.0.0git
isl::checked::ast_expr Class Reference

#include <cpp-checked.h>

Inheritance diagram for isl::checked::ast_expr:
[legend]

Public Member Functions

 ast_expr ()
 ast_expr (const ast_expr &obj)
ast_exproperator= (ast_expr obj)
 ~ast_expr ()
__isl_give isl_ast_exprcopy () const &
__isl_give isl_ast_exprcopy () &&=delete
__isl_keep isl_ast_exprget () const
__isl_give isl_ast_exprrelease ()
bool is_null () const
template<class T>
boolean isa () const
template<class T>
as () const
isl::checked::ctx ctx () const
std::string to_C_str () const
template<typename T, typename>
bool isa_type (T subtype) const
template<class T>
bool isa () const

Protected Member Functions

 ast_expr (__isl_take isl_ast_expr *ptr)

Protected Attributes

isl_ast_exprptr = nullptr

Private Member Functions

template<typename T, typename = typename std::enable_if<std::is_same< const decltype(isl_ast_expr_get_type(NULL)), const T>::value>::type>
boolean isa_type (T subtype) const

Friends

ast_expr manage (__isl_take isl_ast_expr *ptr)
ast_expr manage_copy (__isl_keep isl_ast_expr *ptr)

Detailed Description

Definition at line 596 of file cpp-checked.h.

Constructor & Destructor Documentation

◆ ast_expr() [1/3]

◆ ast_expr() [2/3]

isl::ast_expr::ast_expr ( )
inline

Definition at line 5774 of file cpp-checked.h.

References ptr.

◆ ast_expr() [3/3]

isl::ast_expr::ast_expr ( const ast_expr & obj)
inline

Definition at line 5777 of file cpp-checked.h.

References ast_expr(), obj, and ptr.

◆ ~ast_expr()

isl::ast_expr::~ast_expr ( )
inline

Definition at line 5788 of file cpp-checked.h.

References isl_ast_expr_free(), and ptr.

Member Function Documentation

◆ as()

template<class T>
T isl::ast_expr::as ( ) const
inline

◆ copy() [1/2]

__isl_give isl_ast_expr * isl::checked::ast_expr::copy ( ) &&
inlinedelete

◆ copy() [2/2]

◆ ctx()

isl::ctx isl::ast_expr::ctx ( ) const
inline

Definition at line 5831 of file cpp-checked.h.

References isl_ast_expr_get_ctx(), and ptr.

Referenced by as(), and copy().

◆ get()

◆ is_null()

bool isl::ast_expr::is_null ( ) const
inline

Definition at line 5807 of file cpp-checked.h.

References ptr.

Referenced by buildCondition(), copy(), isa_type(), and isl::checked::ast_expr_op::isa_type().

◆ isa() [1/2]

◆ isa() [2/2]

template<class T>
bool isl::checked::ast_expr::isa ( ) const

Definition at line 6611 of file include/isl/cpp.h.

References isa(), and isa_type().

◆ isa_type() [1/2]

template<typename T, typename>
boolean isl::ast_expr::isa_type ( T subtype) const
inlineprivate

Definition at line 5812 of file cpp-checked.h.

References get(), is_null(), and isl_ast_expr_get_type().

Referenced by copy(), isa(), and isa_type().

◆ isa_type() [2/2]

template<typename T, typename>
bool isl::checked::ast_expr::isa_type ( T subtype) const

◆ operator=()

ast_expr & isl::ast_expr::operator= ( ast_expr obj)
inline

Definition at line 5783 of file cpp-checked.h.

References ast_expr(), and obj.

◆ release()

◆ to_C_str()

std::string isl::ast_expr::to_C_str ( ) const
inline

Definition at line 5835 of file cpp-checked.h.

References get(), isl_ast_expr_to_C_str(), and res.

Referenced by copy(), and test_return_string().

◆ manage

◆ manage_copy

ast_expr manage_copy ( __isl_keep isl_ast_expr * ptr)
friend

Definition at line 5766 of file cpp-checked.h.

References __isl_keep, ast_expr(), isl_ast_expr_copy(), and ptr.

Member Data Documentation

◆ ptr

isl_ast_expr * isl::ast_expr::ptr = nullptr
protected

Definition at line 601 of file cpp-checked.h.

Referenced by ast_expr(), ast_expr(), ast_expr(), isl::ast_expr_id::ast_expr_id(), isl::checked::ast_expr_id::ast_expr_id(), isl::ast_expr_int::ast_expr_int(), isl::checked::ast_expr_int::ast_expr_int(), isl::ast_expr_op::ast_expr_op(), isl::checked::ast_expr_op::ast_expr_op(), isl::ast_expr_op_access::ast_expr_op_access(), isl::checked::ast_expr_op_access::ast_expr_op_access(), isl::ast_expr_op_add::ast_expr_op_add(), isl::checked::ast_expr_op_add::ast_expr_op_add(), isl::ast_expr_op_address_of::ast_expr_op_address_of(), isl::checked::ast_expr_op_address_of::ast_expr_op_address_of(), isl::ast_expr_op_and::ast_expr_op_and(), isl::checked::ast_expr_op_and::ast_expr_op_and(), isl::ast_expr_op_and_then::ast_expr_op_and_then(), isl::checked::ast_expr_op_and_then::ast_expr_op_and_then(), isl::ast_expr_op_call::ast_expr_op_call(), isl::checked::ast_expr_op_call::ast_expr_op_call(), isl::ast_expr_op_cond::ast_expr_op_cond(), isl::checked::ast_expr_op_cond::ast_expr_op_cond(), isl::ast_expr_op_div::ast_expr_op_div(), isl::checked::ast_expr_op_div::ast_expr_op_div(), isl::ast_expr_op_eq::ast_expr_op_eq(), isl::checked::ast_expr_op_eq::ast_expr_op_eq(), isl::ast_expr_op_fdiv_q::ast_expr_op_fdiv_q(), isl::checked::ast_expr_op_fdiv_q::ast_expr_op_fdiv_q(), isl::ast_expr_op_ge::ast_expr_op_ge(), isl::checked::ast_expr_op_ge::ast_expr_op_ge(), isl::ast_expr_op_gt::ast_expr_op_gt(), isl::checked::ast_expr_op_gt::ast_expr_op_gt(), isl::ast_expr_op_le::ast_expr_op_le(), isl::checked::ast_expr_op_le::ast_expr_op_le(), isl::ast_expr_op_lt::ast_expr_op_lt(), isl::checked::ast_expr_op_lt::ast_expr_op_lt(), isl::ast_expr_op_max::ast_expr_op_max(), isl::checked::ast_expr_op_max::ast_expr_op_max(), isl::ast_expr_op_member::ast_expr_op_member(), isl::checked::ast_expr_op_member::ast_expr_op_member(), isl::ast_expr_op_min::ast_expr_op_min(), isl::checked::ast_expr_op_min::ast_expr_op_min(), isl::ast_expr_op_minus::ast_expr_op_minus(), isl::checked::ast_expr_op_minus::ast_expr_op_minus(), isl::ast_expr_op_mul::ast_expr_op_mul(), isl::checked::ast_expr_op_mul::ast_expr_op_mul(), isl::ast_expr_op_or::ast_expr_op_or(), isl::checked::ast_expr_op_or::ast_expr_op_or(), isl::ast_expr_op_or_else::ast_expr_op_or_else(), isl::checked::ast_expr_op_or_else::ast_expr_op_or_else(), isl::ast_expr_op_pdiv_q::ast_expr_op_pdiv_q(), isl::checked::ast_expr_op_pdiv_q::ast_expr_op_pdiv_q(), isl::ast_expr_op_pdiv_r::ast_expr_op_pdiv_r(), isl::checked::ast_expr_op_pdiv_r::ast_expr_op_pdiv_r(), isl::ast_expr_op_select::ast_expr_op_select(), isl::checked::ast_expr_op_select::ast_expr_op_select(), isl::ast_expr_op_sub::ast_expr_op_sub(), isl::checked::ast_expr_op_sub::ast_expr_op_sub(), isl::ast_expr_op_zdiv_r::ast_expr_op_zdiv_r(), isl::checked::ast_expr_op_zdiv_r::ast_expr_op_zdiv_r(), copy(), ctx(), isl::checked::ast_expr_id::ctx(), isl::checked::ast_expr_int::ctx(), isl::checked::ast_expr_op::ctx(), isl::checked::ast_expr_op_access::ctx(), isl::checked::ast_expr_op_add::ctx(), isl::checked::ast_expr_op_address_of::ctx(), isl::checked::ast_expr_op_and::ctx(), isl::checked::ast_expr_op_and_then::ctx(), isl::checked::ast_expr_op_call::ctx(), isl::checked::ast_expr_op_cond::ctx(), isl::checked::ast_expr_op_div::ctx(), isl::checked::ast_expr_op_eq::ctx(), isl::checked::ast_expr_op_fdiv_q::ctx(), isl::checked::ast_expr_op_ge::ctx(), isl::checked::ast_expr_op_gt::ctx(), isl::checked::ast_expr_op_le::ctx(), isl::checked::ast_expr_op_lt::ctx(), isl::checked::ast_expr_op_max::ctx(), isl::checked::ast_expr_op_member::ctx(), isl::checked::ast_expr_op_min::ctx(), isl::checked::ast_expr_op_minus::ctx(), isl::checked::ast_expr_op_mul::ctx(), isl::checked::ast_expr_op_or::ctx(), isl::checked::ast_expr_op_or_else::ctx(), isl::checked::ast_expr_op_pdiv_q::ctx(), isl::checked::ast_expr_op_pdiv_r::ctx(), isl::checked::ast_expr_op_select::ctx(), isl::checked::ast_expr_op_sub::ctx(), isl::checked::ast_expr_op_zdiv_r::ctx(), get(), is_null(), manage, manage_copy, release(), and ~ast_expr().


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