Q,Qc@sRdZdZdefdYZdefdYZdefdYZdS( sContains container classes to represent different protocol buffer types. This file defines container classes which represent categories of protocol buffer field types which need extra maintenance. Currently these categories are: - Repeated scalar fields - These are all repeated fields which aren't composite (e.g. they are of simple types like int32, string, etc). - Repeated composite fields - Repeated fields which are composite. This includes groups and nested messages. spetar@google.com (Petar Petrov)t BaseContainercBsYeZdZddgZdZdZdZdZdZdZ d Z RS( sBase container class.t_message_listenert_valuescCs||_g|_dS(s Args: message_listener: A MessageListener implementation. The RepeatedScalarFieldContainer will call this object's Modified() method when it is modified. N(RR(tselftmessage_listener((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyt__init__4s cCs |j|S(s$Retrieves item by the specified key.(R(Rtkey((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyt __getitem__>scCs t|jS(s0Returns the number of elements in the container.(tlenR(R((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyt__len__BscCs ||k S(s3Checks if another instance isn't equal to this one.((Rtother((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyt__ne__FscCstddS(Nsunhashable object(t TypeError(R((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyt__hash__KscCs t|jS(N(treprR(R((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyt__repr__NscOs9d|kr"|jd|d|D]6}|}|j||j||j|q%W|jdS(s{Extends by appending the given sequence of elements of the same type as this one, copying each individual message. N(R7R9RRR:R(RR!(RR%t message_classtlistenerR.tmessageR;((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyR$s       cCs|j|jdS(svAppends the contents of another repeated field of the same type to this one, copying each individual message. N(R$R(RR ((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyR(scCs!|jj||jjdS(s8Removes an item from the list. Similar to list.remove().N(RR)RR!(RR'((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyR)scCs|j||!S(sARetrieves the subset of items from between the specified indices.(R(RR+R,((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyR-scCs|j|=|jjdS(s+Deletes the item at the specified position.N(RRR!(RR((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyR0s cCs|j||5|jjdS(s?Deletes the subset of items from between the specified indices.N(RRR!(RR+R,((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyR1s cCsA||krtSt||js1tdn|j|jkS(s/Compares the current instance with another one.sSCan only compare repeated composite fields against other repeated composite fields.(R2R3R4R R(RR ((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyR5s  ( RRRRRR<R$R(R)R-R0R1R5(((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyR6s        N(Rt __author__tobjectRRR6(((sG/usr/lib/python2.7/site-packages/google/protobuf/internal/containers.pyt(s-a