Lines Matching refs:nestedStruct
93 nestedStruct = NestedStruct()
94 nestedStruct.Init(buf, pos)
95 return cls.InitFromObj(nestedStruct)
98 def InitFromObj(cls, nestedStruct): argument
100 x._UnPack(nestedStruct)
104 def _UnPack(self, nestedStruct): argument
105 if nestedStruct is None:
107 if not nestedStruct.AIsNone():
110 for i in range(nestedStruct.ALength()):
111 self.a.append(nestedStruct.A(i))
113 self.a = nestedStruct.AAsNumpy()
114 self.b = nestedStruct.B()
115 if not nestedStruct.CIsNone():
118 for i in range(nestedStruct.CLength()):
119 self.c.append(nestedStruct.C(i))
121 self.c = nestedStruct.CAsNumpy()
122 if not nestedStruct.DIsNone():
125 for i in range(nestedStruct.DLength()):
126 self.d.append(nestedStruct.D(i))
128 self.d = nestedStruct.DAsNumpy()