OSFI-Python  3.10.0
OpenSF Integration Library
OSFI.Parameter.ArrayNode Class Reference

Public Member Functions

def __init__ (self, typing.Union[typing.Tuple[int, str], typing.List['ArrayNode']] val)
 
list parseAs (self, ParamType paramType, typing.Tuple[int,...] indices=())
 
list parseAsFlattened (self, ParamType paramType)
 
typing.Sequence[int] getDimsEnvelope (self)
 

Public Attributes

 elems
 
 children
 

Detailed Description

Represents a structure of unparsed values in a parameter of type ARRAY.
It may contain either a list of children ArrayNodes; or a tuple of the
declared size and unparsed text of the leaf node, which may be None for
zero-sized nodes.

Member Function Documentation

◆ getDimsEnvelope()

typing.Sequence[int] OSFI.Parameter.ArrayNode.getDimsEnvelope (   self)
Compute the rectangular envelope for the dimensions of this array node, considering all
nodes below it in the tree.

References OSFI.Parameter.ArrayNode.children, and OSFI.Parameter.ArrayNode.elems.


The documentation for this class was generated from the following file: