The Conley-Morse Graphs Software
Public Member Functions | Private Attributes | List of all members
localSpaceWrapping Class Reference

Sets space wrapping locally. More...

#include <spacewrap.h>

Public Member Functions

 localSpaceWrapping (int width)
 The constructor sets space wrapping. More...
 
 ~localSpaceWrapping ()
 The destructor unsets space wrapping. More...
 
 operator bool () const
 Returns true iff space wrapping was set in any direction. More...
 

Private Attributes

bool wrapping
 Was space wrapping set in any direction? More...
 

Detailed Description

Sets space wrapping locally.

The space wrapping is set in the constructor of the objects of this class, and the space wrapping is unset in the destructor.

Definition at line 81 of file spacewrap.h.

Constructor & Destructor Documentation

◆ localSpaceWrapping()

localSpaceWrapping::localSpaceWrapping ( int  width)
inline

The constructor sets space wrapping.

Definition at line 85 of file spacewrap.h.

◆ ~localSpaceWrapping()

localSpaceWrapping::~localSpaceWrapping ( )
inline

The destructor unsets space wrapping.

Definition at line 92 of file spacewrap.h.

References unsetSpaceWrapping(), and wrapping.

Member Function Documentation

◆ operator bool()

localSpaceWrapping::operator bool ( ) const
inline

Returns true iff space wrapping was set in any direction.

Definition at line 100 of file spacewrap.h.

References wrapping.

Member Data Documentation

◆ wrapping

bool localSpaceWrapping::wrapping
private

Was space wrapping set in any direction?

Definition at line 107 of file spacewrap.h.

Referenced by operator bool(), and ~localSpaceWrapping().


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