Polly 23.0.0git
isl::checked::boolean Class Reference

#include <cpp-checked.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 51 of file cpp-checked.h.

Constructor & Destructor Documentation

◆ boolean() [1/3]

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

Definition at line 57 of file cpp-checked.h.

References val.

Referenced by manage.

◆ boolean() [2/3]

isl::checked::boolean::boolean ( )
inline

Definition at line 62 of file cpp-checked.h.

References isl_bool_error, and val.

Referenced by isl::boolean::error(), error(), isl::boolean::operator!(), and operator!().

◆ boolean() [3/3]

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

Definition at line 65 of file cpp-checked.h.

References isl_bool_false, isl_bool_true, and val.

Member Function Documentation

◆ error()

boolean isl::checked::boolean::error ( )
inlinestatic

Definition at line 59 of file cpp-checked.h.

References boolean(), and isl_bool_error.

◆ is_error()

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

Definition at line 75 of file cpp-checked.h.

References check, isl_bool_error, and val.

Referenced by isl::boolean::operator bool(), operator bool(), test_every(), and test_return_bool().

◆ is_false()

◆ is_true()

◆ negate()

boolean isl::checked::boolean::negate ( )
inline

Definition at line 85 of file cpp-checked.h.

References isl_bool_false, isl_bool_true, and val.

Referenced by isl::boolean::operator!(), and operator!().

◆ operator bool()

isl::checked::boolean::operator bool ( ) const
inlineexplicit

Definition at line 79 of file cpp-checked.h.

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

◆ operator!()

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

Definition at line 93 of file cpp-checked.h.

References boolean(), and negate().

◆ release()

isl_bool isl::checked::boolean::release ( )
inline

Definition at line 68 of file cpp-checked.h.

References check, isl_bool_error, and val.

◆ manage

boolean manage ( isl_bool val)
friend

Definition at line 98 of file cpp-checked.h.

References boolean(), and val.

Member Data Documentation

◆ check

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

Definition at line 53 of file cpp-checked.h.

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

◆ val

isl_bool isl::checked::boolean::val
private

Definition at line 54 of file cpp-checked.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: