def readFields(self, fd): self.scopefields = [] self.fields = [] for n in xrange(self.ScopeFieldCount): self.scopefields.append(ipfix_scopefield.ipfix_scopefield(self, fd)) for n in xrange(self.FieldCount - self.ScopeFieldCount): self.fields.append(ipfix_field.ipfix_field(self, fd))
def readFields(self, fd): self.fields = [] for n in xrange(self.FieldCount): self.fields.append(ipfix_field.ipfix_field(self, fd))