Current Version: 1.0.33
Project Name: csspp
Public Member Functions | Private Attributes | List of all members
csspp::safe_bool_t Class Reference

#include <csspp.h>

Public Member Functions

 safe_bool_t (bool &flag)
 
 safe_bool_t (bool &flag, bool new_value)
 
 ~safe_bool_t ()
 

Private Attributes

bool & f_flag
 
bool f_old_value = false
 

Detailed Description

Definition at line 66 of file csspp.h.

Constructor & Destructor Documentation

◆ safe_bool_t() [1/2]

csspp::safe_bool_t::safe_bool_t ( bool &  flag)
inline

Definition at line 69 of file csspp.h.

References f_flag.

◆ safe_bool_t() [2/2]

csspp::safe_bool_t::safe_bool_t ( bool &  flag,
bool  new_value 
)
inline

Definition at line 76 of file csspp.h.

References f_flag.

◆ ~safe_bool_t()

csspp::safe_bool_t::~safe_bool_t ( )
inline

Definition at line 83 of file csspp.h.

References f_flag, and f_old_value.

Member Data Documentation

◆ f_flag

bool& csspp::safe_bool_t::f_flag
private

Definition at line 89 of file csspp.h.

Referenced by safe_bool_t(), safe_bool_t(), and ~safe_bool_t().

◆ f_old_value

bool csspp::safe_bool_t::f_old_value = false
private

Definition at line 90 of file csspp.h.

Referenced by ~safe_bool_t().


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

Documentation of CSS Preprocessor.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.