Polly 22.0.0git
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.

References val.

Referenced by manage.

◆ boolean() [2/3]

isl::boolean::boolean ( )
inline

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

References isl_bool_error, and val.

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

◆ boolean() [3/3]

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

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

References isl_bool_false, isl_bool_true, and val.

Member Function Documentation

◆ error()

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, isl_bool_error, and val.

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

◆ is_false()

◆ 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, isl_bool_true, and val.

Referenced by operator!().

◆ 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(), and negate().

◆ release()

isl_bool isl::boolean::release ( )
inline

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

References check, isl_bool_error, and val.

◆ manage

boolean manage ( isl_bool val)
friend

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

References boolean(), and val.

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 boolean(), boolean(), boolean(), is_error(), is_false(), is_true(), manage, negate(), and release().


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