Polly 19.0.0git
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
isl::boolean Class Reference

#include <isl-noexceptions.h>

Public Member Functions

 boolean ()
 
 boolean (bool val)
 
isl_bool release ()
 
bool is_error () const
 
bool is_false () const
 
bool is_true () const
 
 operator bool () const
 
boolean negate ()
 
boolean operator! () const
 

Static Public Member Functions

static boolean error ()
 

Private Member Functions

 boolean (isl_bool val)
 

Private Attributes

std::shared_ptr< checkercheck = std::make_shared<checker>()
 
isl_bool val
 

Friends

boolean manage (isl_bool val)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ boolean() [1/3]

isl::boolean::boolean ( isl_bool  val)
inlineprivate

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

◆ boolean() [2/3]

isl::boolean::boolean ( )
inline

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

Referenced by error(), and operator!().

◆ boolean() [3/3]

isl::boolean::boolean ( bool  val)
inline

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

Member Function Documentation

◆ error()

static boolean isl::boolean::error ( )
inlinestatic

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

References boolean(), and isl_bool_error.

Referenced by test_every().

◆ is_error()

bool isl::boolean::is_error ( ) const
inline

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

References check, and isl_bool_error.

Referenced by operator bool(), test_every(), and test_return_bool().

◆ is_false()

bool isl::boolean::is_false ( ) const
inline

◆ is_true()

bool isl::boolean::is_true ( ) const
inline

◆ negate()

boolean isl::boolean::negate ( )
inline

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

References isl_bool_false, and isl_bool_true.

◆ operator bool()

isl::boolean::operator bool ( ) const
inline

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

References is_error(), is_true(), and ISLPP_ASSERT.

◆ operator!()

boolean isl::boolean::operator! ( ) const
inline

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

References boolean().

◆ release()

isl_bool isl::boolean::release ( )
inline

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

References check, isl_bool_error, and val.

Friends And Related Function Documentation

◆ manage

boolean manage ( isl_bool  val)
friend

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

Member Data Documentation

◆ check

std::shared_ptr<checker> isl::boolean::check = std::make_shared<checker>()
mutableprivate

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

Referenced by is_error(), is_false(), is_true(), and release().

◆ val

isl_bool isl::boolean::val
private

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

Referenced by release().


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