Hoplimit Object

class activelogic.HoplimitObject

Object representing a HoplimitObject.

>>> do = rs.add(HoplimitObject('MyHoplimitObject', items=[12]))
>>> do = rs.add(HoplimitObject('MyHoplimitObject', items=[HoplimitObjectRangeItem(1, 2)]))
class activelogic.HoplimitObjectSingleItem

Object representing a HoplimitObjectItem holding a single Hoplimit number.

Parameters:

hoplimit (int) – Hoplimit number

>>> HoplimitObjectSingleItem(12)
class activelogic.HoplimitObjectRangeItem

Object representing a HoplimitObjectItem holding a Hoplimit range.

Parameters:
  • hoplimit_first (int) – First hoplimit in range

  • hoplimit_last (int) – Last hoplimit in range

>>> HoplimitObjectRangeItem(0, 18)