OpenStructure
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
EditPositionGuard Class Reference

#include <transition_guard.hh>

Inherits TransitionGuard.

Public Types

enum  FLAGS {
  ALWAYSTRUE =0 , SMALLER =1 , EQUAL =2 , BIGGER =4 ,
  ANCHORSMALLER =8 , ANCHOREQUAL =16 , ANCHORBIGGER =32
}
 

Public Member Functions

 EditPositionGuard (PythonShellWidget *shell, int flags1, int flags2=ALWAYSTRUE)
 
virtual bool check ()
 
- Public Member Functions inherited from TransitionGuard
 TransitionGuard ()
 

Protected Member Functions

virtual bool check_flag (int flag)
 

Protected Attributes

PythonShellWidgetshell_
 
int flags1_
 
int flags2_
 

Detailed Description

Definition at line 56 of file transition_guard.hh.

Member Enumeration Documentation

◆ FLAGS

enum FLAGS
Enumerator
ALWAYSTRUE 
SMALLER 
EQUAL 
BIGGER 
ANCHORSMALLER 
ANCHOREQUAL 
ANCHORBIGGER 

Definition at line 59 of file transition_guard.hh.

Constructor & Destructor Documentation

◆ EditPositionGuard()

EditPositionGuard ( PythonShellWidget shell,
int  flags1,
int  flags2 = ALWAYSTRUE 
)

Member Function Documentation

◆ check()

virtual bool check ( )
virtual

Reimplemented from TransitionGuard.

◆ check_flag()

virtual bool check_flag ( int  flag)
protectedvirtual

Field Documentation

◆ flags1_

int flags1_
protected

Definition at line 73 of file transition_guard.hh.

◆ flags2_

int flags2_
protected

Definition at line 74 of file transition_guard.hh.

◆ shell_

PythonShellWidget* shell_
protected

Definition at line 72 of file transition_guard.hh.


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