CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self, lhs, rhs)
 
- Public Member Functions inherited from Config._BoolModifierBase
def __and__ (self, other)
 
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 multiple Modifiers are chosen

Definition at line 1560 of file Config.py.

Constructor & Destructor Documentation

◆ __init__()

def Config._AndModifier.__init__ (   self,
  lhs,
  rhs 
)

Reimplemented from Config._BoolModifierBase.

Definition at line 1562 of file Config.py.

1562  def __init__(self, lhs, rhs):
1563  super(_AndModifier,self).__init__(lhs, rhs)

Member Function Documentation

◆ _isChosen()

def Config._AndModifier._isChosen (   self)
private

Definition at line 1564 of file Config.py.

1564  def _isChosen(self):
1565  return self._lhs._isChosen() and self._rhs._isChosen()
1566 

References Config._BoolModifierBase._lhs, and Config._BoolModifierBase._rhs.

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