Flag Object

class activelogic.FlagObject

Object representing a FlagObject.

>>> o = rs.add(FlagObject('MyFlagObject', items=['INTERACTIVE']))
class activelogic.FlagObjectItem

Object representing an item of a FlagObject.

Parameters:
  • value (str) – The flag you want to add

  • isset (bool) – If true, then the flag must be set, if false, then it must be unset.

This flag must be set:

>>> FlagObjectItem('INTERACTIVE')

or:

>>> FlagObjectItem('INTERACTIVE', True)

This flag must be unset:

>>> FlagObjectItem('INTERACTIVE', False)