|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
| def | __init__ (self, message_listener, type_checker) |
| def | append (self, value) |
| def | insert (self, key, value) |
| def | extend (self, elem_seq) |
| def | MergeFrom (self, other) |
| def | remove (self, elem) |
| def | pop (self, key=-1) |
| def | __setitem__ (self, key, value) |
| def | __getslice__ (self, start, stop) |
| def | __setslice__ (self, start, stop, values) |
| def | __delitem__ (self, key) |
| def | __delslice__ (self, start, stop) |
| def | __eq__ (self, other) |
Public Member Functions inherited from google.protobuf.internal.containers.BaseContainer | |
| def | __init__ (self, message_listener) |
| def | __getitem__ (self, key) |
| def | __len__ (self) |
| def | __ne__ (self, other) |
| def | __hash__ (self) |
| def | __repr__ (self) |
| def | sort (self, args, kwargs) |
Simple, type-checked, list-like container for holding repeated scalars.
| def google.protobuf.internal.containers.RepeatedScalarFieldContainer.__init__ | ( | self, | |
| message_listener, | |||
| type_checker | |||
| ) |
Args: message_listener: A MessageListener implementation. The RepeatedScalarFieldContainer will call this object's Modified() method when it is modified. type_checker: A type_checkers.ValueChecker instance to run on elements inserted into this container.
| def google.protobuf.internal.containers.RepeatedScalarFieldContainer.__delitem__ | ( | self, | |
| key | |||
| ) |
Deletes the item at the specified position.
| def google.protobuf.internal.containers.RepeatedScalarFieldContainer.__delslice__ | ( | self, | |
| start, | |||
| stop | |||
| ) |
Deletes the subset of items from between the specified indices.
| def google.protobuf.internal.containers.RepeatedScalarFieldContainer.__eq__ | ( | self, | |
| other | |||
| ) |
Compares the current instance with another one.
| def google.protobuf.internal.containers.RepeatedScalarFieldContainer.__getslice__ | ( | self, | |
| start, | |||
| stop | |||
| ) |
Retrieves the subset of items from between the specified indices.
| def google.protobuf.internal.containers.RepeatedScalarFieldContainer.__setitem__ | ( | self, | |
| key, | |||
| value | |||
| ) |
Sets the item on the specified position.
| def google.protobuf.internal.containers.RepeatedScalarFieldContainer.__setslice__ | ( | self, | |
| start, | |||
| stop, | |||
| values | |||
| ) |
Sets the subset of items from between the specified indices.
| def google.protobuf.internal.containers.RepeatedScalarFieldContainer.append | ( | self, | |
| value | |||
| ) |
Appends an item to the list. Similar to list.append().
| def google.protobuf.internal.containers.RepeatedScalarFieldContainer.extend | ( | self, | |
| elem_seq | |||
| ) |
Extends by appending the given iterable. Similar to list.extend().
| def google.protobuf.internal.containers.RepeatedScalarFieldContainer.insert | ( | self, | |
| key, | |||
| value | |||
| ) |
Inserts the item at the specified position. Similar to list.insert().
| def google.protobuf.internal.containers.RepeatedScalarFieldContainer.MergeFrom | ( | self, | |
| other | |||
| ) |
Appends the contents of another repeated field of the same type to this one. We do not check the types of the individual fields.
| def google.protobuf.internal.containers.RepeatedScalarFieldContainer.pop | ( | self, | |
key = -1 |
|||
| ) |
Removes and returns an item at a given index. Similar to list.pop().
| def google.protobuf.internal.containers.RepeatedScalarFieldContainer.remove | ( | self, | |
| elem | |||
| ) |
Removes an item from the list. Similar to list.remove().
1.8.13