class documentation

Sets and validates slots.

Class Method GetAllSlots Compute the list of all declared slots for a class.
Method __init__ Constructor for BaseOpCode.
Method Validate Validates the slots.
Class Variable __slots__ Undocumented
@classmethod
def GetAllSlots(cls):

Compute the list of all declared slots for a class.

def __init__(self, **kwargs):

Constructor for BaseOpCode.

The constructor takes only keyword arguments and will set attributes on this object based on the passed arguments. As such, it means that you should not pass arguments which are not in the __slots__ attribute for this class.

def Validate(self):

Validates the slots.

This method returns None if the validation succeeds, or raises an exception otherwise.

Returns
NoneTypeNone, if the validation succeeds
Raises
Exception

validation fails

This method must be implemented by the child classes.

__slots__: list =

Undocumented