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

#include <isl-noexceptions.h>

Public Member Functions

 id ()
 
 id (const id &obj)
 
 id (isl::ctx ctx, const std::string &str)
 
idoperator= (id obj)
 
 ~id ()
 
__isl_give isl_idcopy () const &
 
__isl_give isl_idcopy () &&=delete
 
__isl_keep isl_idget () const
 
__isl_give isl_idrelease ()
 
bool is_null () const
 
isl::ctx ctx () const
 
std::string name () const
 
std::string get_name () const
 
isl::id_list to_list () const
 
void * user () const
 
void * get_user () const
 

Static Public Member Functions

static isl::id alloc (isl::ctx ctx, const std::string &name, void *user)
 

Protected Member Functions

 id (__isl_take isl_id *ptr)
 

Protected Attributes

isl_idptr = nullptr
 

Friends

id manage (__isl_take isl_id *ptr)
 
id manage_copy (__isl_keep isl_id *ptr)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ id() [1/4]

isl::id::id ( __isl_take isl_id ptr)
inlineexplicitprotected

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

◆ id() [2/4]

isl::id::id ( )
inline

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

◆ id() [3/4]

isl::id::id ( const id obj)
inline

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

References obj, and ptr.

◆ id() [4/4]

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

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

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

◆ ~id()

isl::id::~id ( )
inline

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

References isl_id_free(), and ptr.

Member Function Documentation

◆ alloc()

isl::id isl::id::alloc ( isl::ctx  ctx,
const std::string &  name,
void *  user 
)
inlinestatic

◆ copy() [1/2]

__isl_give isl_id * isl::id::copy ( ) &&
inlinedelete

◆ copy() [2/2]

__isl_give isl_id * isl::id::copy ( ) const &
inline

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

References isl_id_copy(), and ptr.

Referenced by to_list().

◆ ctx()

isl::ctx isl::id::ctx ( ) const
inline

◆ get()

__isl_keep isl_id * isl::id::get ( ) const
inline

◆ get_name()

std::string isl::id::get_name ( ) const
inline

◆ get_user()

void * isl::id::get_user ( ) const
inline

◆ is_null()

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

◆ name()

std::string isl::id::name ( ) const
inline

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

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

Referenced by alloc(), get_name(), and test_foreach_scc().

◆ operator=()

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

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

References obj.

◆ release()

__isl_give isl_id * isl::id::release ( )
inline

◆ to_list()

isl::id_list isl::id::to_list ( ) const
inline

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

References copy(), manage, and res.

◆ user()

void * isl::id::user ( ) const
inline

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

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

Referenced by alloc(), get_user(), and test_user().

Friends And Related Function Documentation

◆ manage

id manage ( __isl_take isl_id ptr)
friend

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

Referenced by alloc(), and to_list().

◆ manage_copy

id manage_copy ( __isl_keep isl_id ptr)
friend

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

Member Data Documentation

◆ ptr

isl_id* isl::id::ptr = nullptr
protected

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

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


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