Polly 20.0.0git
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
isl::id_list Class Reference

#include <isl-noexceptions.h>

Public Member Functions

 id_list ()
 
 id_list (const id_list &obj)
 
 id_list (isl::ctx ctx, int n)
 
 id_list (isl::id el)
 
 id_list (isl::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::ctx ctx () const
 
isl::id_list add (isl::id el) const
 
isl::id_list add (const std::string &el) const
 
isl::id at (int index) const
 
isl::id get_at (int index) const
 
isl::id_list clear () const
 
isl::id_list concat (isl::id_list list2) const
 
isl::id_list drop (unsigned int first, unsigned int n) const
 
stat foreach (const std::function< stat(isl::id)> &fn) const
 
isl::id_list insert (unsigned int pos, isl::id el) const
 
isl::id_list insert (unsigned int pos, 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 1982 of file isl-noexceptions.h.

Constructor & Destructor Documentation

◆ id_list() [1/6]

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

Definition at line 10300 of file isl-noexceptions.h.

◆ id_list() [2/6]

isl::id_list::id_list ( )
inline

Definition at line 10291 of file isl-noexceptions.h.

◆ id_list() [3/6]

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

Definition at line 10294 of file isl-noexceptions.h.

References obj, and ptr.

◆ id_list() [4/6]

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

Definition at line 10303 of file isl-noexceptions.h.

References n, ptr, isl::ctx::release(), and res.

◆ id_list() [5/6]

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

Definition at line 10309 of file isl-noexceptions.h.

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

◆ id_list() [6/6]

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

Definition at line 10315 of file isl-noexceptions.h.

References ptr, isl::ctx::release(), res, and str.

◆ ~id_list()

isl::id_list::~id_list ( )
inline

Definition at line 10326 of file isl-noexceptions.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 10359 of file isl-noexceptions.h.

References add(), and ctx().

◆ add() [2/2]

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

Definition at line 10353 of file isl-noexceptions.h.

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

Referenced by add(), and test_foreach_scc().

◆ at()

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

Definition at line 10364 of file isl-noexceptions.h.

References get(), manage, and res.

Referenced by get_at(), and test_foreach_scc().

◆ clear()

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

Definition at line 10375 of file isl-noexceptions.h.

References copy(), manage, and res.

◆ concat()

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

Definition at line 10381 of file isl-noexceptions.h.

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

Referenced by test_foreach_scc().

◆ copy() [1/2]

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

◆ copy() [2/2]

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

Definition at line 10331 of file isl-noexceptions.h.

References ptr.

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

◆ ctx()

isl::ctx isl::id_list::ctx ( ) const
inline

Definition at line 10349 of file isl-noexceptions.h.

References ptr.

Referenced by add(), and insert().

◆ drop()

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

Definition at line 10387 of file isl-noexceptions.h.

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

◆ foreach()

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

Definition at line 10393 of file isl-noexceptions.h.

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

◆ get()

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

Definition at line 10335 of file isl-noexceptions.h.

References ptr.

Referenced by at(), foreach(), and size().

◆ get_at()

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

Definition at line 10370 of file isl-noexceptions.h.

References at().

◆ insert() [1/2]

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

Definition at line 10413 of file isl-noexceptions.h.

References ctx(), and insert().

◆ insert() [2/2]

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

Definition at line 10407 of file isl-noexceptions.h.

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

Referenced by insert().

◆ is_null()

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

Definition at line 10345 of file isl-noexceptions.h.

References ptr.

◆ operator=()

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

Definition at line 10321 of file isl-noexceptions.h.

References obj.

◆ release()

__isl_give isl_id_list * isl::id_list::release ( )
inline

◆ size()

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

Definition at line 10418 of file isl-noexceptions.h.

References get(), manage, and res.

Referenced by test_foreach_scc().

Friends And Related Function Documentation

◆ manage

id_list manage ( __isl_take isl_id_list *  ptr)
friend

Definition at line 10283 of file isl-noexceptions.h.

Referenced by add(), at(), clear(), concat(), drop(), foreach(), insert(), and size().

◆ manage_copy

id_list manage_copy ( __isl_keep isl_id_list *  ptr)
friend

Definition at line 10286 of file isl-noexceptions.h.

Member Data Documentation

◆ ptr

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

Definition at line 1987 of file isl-noexceptions.h.

Referenced by copy(), ctx(), get(), id_list(), is_null(), release(), and ~id_list().


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