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

#include <cpp-checked.h>

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

Public Member Functions

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

Protected Member Functions

 id_list (__isl_take isl_id_list *ptr)

Protected Attributes

isl_id_list * ptr = nullptr

Friends

id_list manage (__isl_take isl_id_list *ptr)
id_list manage_copy (__isl_keep isl_id_list *ptr)

Detailed Description

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

Constructor & Destructor Documentation

◆ id_list() [1/6]

isl::id_list::id_list ( __isl_take isl_id_list * ptr)
inlineexplicitprotected

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

References __isl_take, and ptr.

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

◆ id_list() [2/6]

isl::id_list::id_list ( )
inline

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

References ptr.

◆ id_list() [3/6]

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

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

References id_list(), obj, and ptr.

◆ id_list() [4/6]

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

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

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

◆ id_list() [5/6]

isl::id_list::id_list ( isl::checked::id el)
inlineexplicit

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

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

◆ id_list() [6/6]

isl::id_list::id_list ( isl::checked::ctx ctx,
const std::string & str )
inlineexplicit

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

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

◆ ~id_list()

isl::id_list::~id_list ( )
inline

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

References ptr.

Member Function Documentation

◆ add() [1/2]

isl::id_list isl::id_list::add ( const std::string & el) const
inline

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

References add(), and ctx().

◆ add() [2/2]

isl::id_list isl::id_list::add ( isl::checked::id el) const
inline

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

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

Referenced by add(), copy(), and test_foreach_scc().

◆ at()

isl::id isl::id_list::at ( int index) const
inline

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

References get(), manage, and res.

Referenced by copy(), get_at(), and test_foreach_scc().

◆ clear()

isl::id_list isl::id_list::clear ( ) const
inline

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

References copy(), manage, and res.

Referenced by copy().

◆ concat()

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

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

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

Referenced by copy(), and test_foreach_scc().

◆ copy() [1/2]

__isl_give isl_id_list * isl::checked::id_list::copy ( ) &&
inlinedelete

◆ copy() [2/2]

__isl_give isl_id_list * isl::id_list::copy ( ) const &
inline

Definition at line 9253 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::id_list::ctx ( ) const
inline

◆ drop()

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

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

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

Referenced by copy().

◆ foreach()

stat isl::checked::id_list::foreach ( const std::function< stat(isl::checked::id)> & fn) const
inline

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

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

Referenced by copy().

◆ foreach_scc()

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

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

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

Referenced by copy(), and test_foreach_scc().

◆ get()

__isl_keep isl_id_list * isl::id_list::get ( ) const
inline

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

References __isl_keep, and ptr.

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

◆ get_at()

isl::id isl::id_list::get_at ( int index) const
inline

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

References at().

Referenced by copy().

◆ insert() [1/2]

isl::id_list isl::id_list::insert ( unsigned int pos,
const std::string & el ) const
inline

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

References ctx(), insert(), and pos().

◆ insert() [2/2]

isl::id_list isl::id_list::insert ( unsigned int pos,
isl::checked::id el ) const
inline

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

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

Referenced by copy(), and insert().

◆ is_null()

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

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

References ptr.

Referenced by copy().

◆ operator=()

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

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

References id_list(), and obj.

◆ release()

◆ set_at() [1/2]

isl::id_list isl::id_list::set_at ( int index,
const std::string & el ) const
inline

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

References ctx(), and set_at.

◆ set_at() [2/2]

isl::id_list isl::id_list::set_at ( int index,
isl::checked::id el ) const
inline

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

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

Referenced by copy().

◆ size()

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

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

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

Referenced by copy(), size(), and test_foreach_scc().

◆ manage

id_list manage ( __isl_take isl_id_list * ptr)
friend

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

References __isl_take, id_list(), and ptr.

Referenced by add(), at(), clear(), concat(), copy(), drop(), foreach(), isl::id_list::foreach(), foreach_scc(), insert(), and set_at().

◆ manage_copy

id_list manage_copy ( __isl_keep isl_id_list * ptr)
friend

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

References __isl_keep, id_list(), and ptr.

Referenced by copy(), and foreach_scc().

Member Data Documentation

◆ ptr

isl_id_list * isl::id_list::ptr = nullptr
protected

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