CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self, lhs, rhs)
 
def isChosen (self)
 
- 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)
 

Detailed Description

A modifier which only applies if at least one of multiple Modifiers is chosen

Definition at line 1323 of file Config.py.

Constructor & Destructor Documentation

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

Definition at line 1325 of file Config.py.

1325  def __init__(self, lhs, rhs):
1326  super(_OrModifier,self).__init__(lhs, rhs)
def __init__(self, lhs, rhs)
Definition: Config.py:1325

Member Function Documentation

def Config._OrModifier.isChosen (   self)

Definition at line 1327 of file Config.py.

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

1327  def isChosen(self):
1328  return self._lhs.isChosen() or self._rhs.isChosen()
1329 
1330 
def isChosen(self)
Definition: Config.py:1327