CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
Config._InvertModifier Class Reference
Inheritance diagram for Config._InvertModifier:
Config._BoolModifierBase

Public Member Functions

def __init__ (self, lhs)
 
- Public Member Functions inherited from Config._BoolModifierBase
def __and__ (self, other)
 
def __init__ (self, lhs, rhs=None)
 
def __invert__ (self)
 
def __or__ (self, other)
 
def makeProcessModifier (self, func)
 
def toModify (self, obj, func=None, **kw)
 
def toReplaceWith (self, toObj, fromObj)
 

Private Member Functions

def _isChosen (self)
 

Detailed Description

A modifier which only applies if a Modifier is not chosen

Definition at line 1567 of file Config.py.

Constructor & Destructor Documentation

◆ __init__()

def Config._InvertModifier.__init__ (   self,
  lhs 
)

Definition at line 1569 of file Config.py.

1569  def __init__(self, lhs):
1570  super(_InvertModifier,self).__init__(lhs)

Member Function Documentation

◆ _isChosen()

def Config._InvertModifier._isChosen (   self)
private

Definition at line 1571 of file Config.py.

1571  def _isChosen(self):
1572  return not self._lhs._isChosen()
1573 

References Config._BoolModifierBase._lhs.

Referenced by Config._BoolModifierBase.toModify(), Config.Modifier.toModify(), Config._BoolModifierBase.toReplaceWith(), and Config.Modifier.toReplaceWith().