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

#include <isl-noexceptions.h>

Public Member Functions

 constraint ()
 
 constraint (const constraint &obj)
 
constraintoperator= (constraint obj)
 
 ~constraint ()
 
__isl_give isl_constraintcopy () const &
 
__isl_give isl_constraintcopy () &&=delete
 
__isl_keep isl_constraintget () const
 
__isl_give isl_constraintrelease ()
 
bool is_null () const
 
isl::ctx ctx () const
 
isl::constraint set_coefficient_si (isl::dim type, int pos, int v) const
 
isl::constraint set_constant_si (int v) const
 
isl::constraint set_constant_val (isl::val v) const
 
isl::constraint set_constant_val (long v) const
 

Static Public Member Functions

static isl::constraint alloc_equality (isl::local_space ls)
 
static isl::constraint alloc_inequality (isl::local_space ls)
 

Protected Member Functions

 constraint (__isl_take isl_constraint *ptr)
 

Protected Attributes

isl_constraintptr = nullptr
 

Friends

constraint manage (__isl_take isl_constraint *ptr)
 
constraint manage_copy (__isl_keep isl_constraint *ptr)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ constraint() [1/3]

isl::constraint::constraint ( __isl_take isl_constraint ptr)
inlineexplicitprotected

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

◆ constraint() [2/3]

isl::constraint::constraint ( )
inline

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

◆ constraint() [3/3]

isl::constraint::constraint ( const constraint obj)
inline

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

References obj, and ptr.

◆ ~constraint()

isl::constraint::~constraint ( )
inline

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

References isl_constraint_free(), and ptr.

Member Function Documentation

◆ alloc_equality()

isl::constraint isl::constraint::alloc_equality ( isl::local_space  ls)
inlinestatic

◆ alloc_inequality()

isl::constraint isl::constraint::alloc_inequality ( isl::local_space  ls)
inlinestatic

◆ copy() [1/2]

__isl_give isl_constraint * isl::constraint::copy ( ) &&
inlinedelete

◆ copy() [2/2]

__isl_give isl_constraint * isl::constraint::copy ( ) const &
inline

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

References isl_constraint_copy(), and ptr.

Referenced by set_coefficient_si(), set_constant_si(), and set_constant_val().

◆ ctx()

isl::ctx isl::constraint::ctx ( ) const
inline

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

References isl_constraint_get_ctx(), and ptr.

Referenced by set_constant_val().

◆ get()

__isl_keep isl_constraint * isl::constraint::get ( ) const
inline

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

References ptr.

◆ is_null()

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

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

References ptr.

◆ operator=()

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

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

References obj.

◆ release()

__isl_give isl_constraint * isl::constraint::release ( )
inline

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

References ptr.

Referenced by isl::map::add_constraint(), and isl::set::add_constraint().

◆ set_coefficient_si()

isl::constraint isl::constraint::set_coefficient_si ( isl::dim  type,
int  pos,
int  v 
) const
inline

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

References copy(), isl_constraint_set_coefficient_si(), manage, pos(), res, and type.

◆ set_constant_si()

isl::constraint isl::constraint::set_constant_si ( int  v) const
inline

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

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

◆ set_constant_val() [1/2]

isl::constraint isl::constraint::set_constant_val ( isl::val  v) const
inline

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

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

Referenced by set_constant_val().

◆ set_constant_val() [2/2]

isl::constraint isl::constraint::set_constant_val ( long  v) const
inline

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

References ctx(), and set_constant_val().

Friends And Related Function Documentation

◆ manage

constraint manage ( __isl_take isl_constraint ptr)
friend

◆ manage_copy

constraint manage_copy ( __isl_keep isl_constraint ptr)
friend

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

Member Data Documentation

◆ ptr

isl_constraint* isl::constraint::ptr = nullptr
protected

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

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


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