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

#include <cpp-checked.h>

Public Member Functions

 ast_node_list ()
 ast_node_list (const ast_node_list &obj)
 ast_node_list (isl::checked::ctx ctx, int n)
 ast_node_list (isl::checked::ast_node el)
ast_node_listoperator= (ast_node_list obj)
 ~ast_node_list ()
__isl_give isl_ast_node_list * copy () const &
__isl_give isl_ast_node_list * copy () &&=delete
__isl_keep isl_ast_node_list * get () const
__isl_give isl_ast_node_list * release ()
bool is_null () const
isl::checked::ctx ctx () const
isl::checked::ast_node_list add (isl::checked::ast_node el) const
isl::checked::ast_node at (int index) const
isl::checked::ast_node get_at (int index) const
isl::checked::ast_node_list clear () const
isl::checked::ast_node_list concat (isl::checked::ast_node_list list2) const
isl::checked::ast_node_list drop (unsigned int first, unsigned int n) const
stat foreach (const std::function< stat(isl::checked::ast_node)> &fn) const
stat foreach_scc (const std::function< boolean(isl::checked::ast_node, isl::checked::ast_node)> &follows, const std::function< stat(isl::checked::ast_node_list)> &fn) const
isl::checked::ast_node_list insert (unsigned int pos, isl::checked::ast_node el) const
isl::checked::ast_node_list set_at (int index, isl::checked::ast_node el) const
class size size () const

Protected Member Functions

 ast_node_list (__isl_take isl_ast_node_list *ptr)

Protected Attributes

isl_ast_node_list * ptr = nullptr

Friends

ast_node_list manage (__isl_take isl_ast_node_list *ptr)
ast_node_list manage_copy (__isl_keep isl_ast_node_list *ptr)

Detailed Description

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

Constructor & Destructor Documentation

◆ ast_node_list() [1/5]

isl::ast_node_list::ast_node_list ( __isl_take isl_ast_node_list * ptr)
inlineexplicitprotected

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

References __isl_take, and ptr.

Referenced by ast_node_list(), copy(), manage, manage_copy, operator=(), and size().

◆ ast_node_list() [2/5]

isl::ast_node_list::ast_node_list ( )
inline

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

References ptr.

◆ ast_node_list() [3/5]

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

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

References ast_node_list(), obj, and ptr.

◆ ast_node_list() [4/5]

isl::ast_node_list::ast_node_list ( isl::checked::ctx ctx,
int n )
inlineexplicit

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

References ctx(), n, ptr, and res.

◆ ast_node_list() [5/5]

isl::ast_node_list::ast_node_list ( isl::checked::ast_node el)
inlineexplicit

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

References ptr, isl::checked::ast_node::release(), and res.

◆ ~ast_node_list()

isl::ast_node_list::~ast_node_list ( )
inline

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

References ptr.

Member Function Documentation

◆ add()

isl::ast_node_list isl::ast_node_list::add ( isl::checked::ast_node el) const
inline

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

References copy(), manage, isl::checked::ast_node::release(), and res.

Referenced by copy().

◆ at()

isl::ast_node isl::ast_node_list::at ( int index) const
inline

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

References get(), manage, and res.

Referenced by copy(), and get_at().

◆ clear()

isl::ast_node_list isl::ast_node_list::clear ( ) const
inline

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

References copy(), manage, and res.

Referenced by copy().

◆ concat()

isl::ast_node_list isl::ast_node_list::concat ( isl::checked::ast_node_list list2) const
inline

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

References copy(), manage, release(), and res.

Referenced by copy().

◆ copy() [1/2]

__isl_give isl_ast_node_list * isl::checked::ast_node_list::copy ( ) &&
inlinedelete

◆ copy() [2/2]

__isl_give isl_ast_node_list * isl::ast_node_list::copy ( ) const &
inline

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

References __isl_give, and ptr.

Referenced by add(), clear(), concat(), copy(), drop(), insert(), and set_at().

◆ ctx()

isl::ctx isl::ast_node_list::ctx ( ) const
inline

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

References ptr.

Referenced by ast_node_list(), and copy().

◆ drop()

isl::ast_node_list isl::ast_node_list::drop ( unsigned int first,
unsigned int n ) const
inline

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

References copy(), manage, n, and res.

Referenced by copy().

◆ foreach()

stat isl::checked::ast_node_list::foreach ( const std::function< stat(isl::checked::ast_node)> & fn) const
inline

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

References fn, get(), manage, and res.

Referenced by copy().

◆ foreach_scc()

stat isl::checked::ast_node_list::foreach_scc ( const std::function< boolean(isl::checked::ast_node, isl::checked::ast_node)> & follows,
const std::function< stat(isl::checked::ast_node_list)> & fn ) const
inline

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

References fn, get(), manage, manage_copy, and res.

Referenced by copy().

◆ get()

__isl_keep isl_ast_node_list * isl::ast_node_list::get ( ) const
inline

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

References __isl_keep, and ptr.

Referenced by at(), copy(), isl::ast_node_list::foreach(), foreach(), foreach_scc(), and size().

◆ get_at()

isl::ast_node isl::ast_node_list::get_at ( int index) const
inline

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

References at().

Referenced by copy().

◆ insert()

isl::ast_node_list isl::ast_node_list::insert ( unsigned int pos,
isl::checked::ast_node el ) const
inline

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

References copy(), manage, pos(), isl::checked::ast_node::release(), and res.

Referenced by copy().

◆ is_null()

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

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

References ptr.

Referenced by copy().

◆ operator=()

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

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

References ast_node_list(), and obj.

◆ release()

__isl_give isl_ast_node_list * isl::ast_node_list::release ( )
inline

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

References __isl_give, and ptr.

Referenced by isl::checked::ast_node_block::ast_node_block(), concat(), and copy().

◆ set_at()

isl::ast_node_list isl::ast_node_list::set_at ( int index,
isl::checked::ast_node el ) const
inline

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

References copy(), manage, isl::checked::ast_node::release(), and res.

Referenced by copy().

◆ size()

class size isl::ast_node_list::size ( ) const
inline

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

References ast_node_list(), get(), isl::checked::size::manage, res, and size().

Referenced by copy(), and size().

◆ manage

ast_node_list manage ( __isl_take isl_ast_node_list * ptr)
friend

◆ manage_copy

ast_node_list manage_copy ( __isl_keep isl_ast_node_list * ptr)
friend

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

References __isl_keep, ast_node_list(), and ptr.

Referenced by foreach_scc().

Member Data Documentation

◆ ptr

isl_ast_node_list * isl::ast_node_list::ptr = nullptr
protected

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