ListOfList (hwx.inspire.Attributes)#

class ListOfList(type, default=[], **kwds)#

Bases: List

Store list of lists of values in a single attribute.

For example:

obj.intLists = [[1,2],[3,4,5]]

Method Table#

Name

Description

castForSet (self, obj, value)

Validates and returns the specified nested list values, before setting.

create (self, obj)

Creates a ListofList attribute.

getValue (self, obj)

Returns the nested list of values.

setValue (self, obj, value)

Sets the nested list of values.

create(obj)#

Creates a ListofList attribute.

castForSet(obj, value)#

Validates and returns the specified nested list values, before setting.

getValue(obj)#

Returns the nested list of values.

setValue(obj, value)#

Sets the nested list of values.