Class p.c.p.DynamicNamedSets(NamedSets):

Part of pida.core.plugins View In Hierarchy

In a dynamic named set the sets are created (empty sets) when you access them.

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
206 Method __init__ Creates an empty dynamic named sets object.
211 Class Method __getitem__ Returns the named set.
215 Class Method remove Remove the value from the set named name.
224 Class Method add Add one one value to the named set.
228 Class Method __delitem__ Remove the named set.
232 Class Method clear Undocumented

Inherited from NamedSets:

Line # Kind Name Docs
137 Method keys Return a collection of the names of the existing sets.
154 Class Method __repr__ Undocumented
160 Class Method __len__ Undocumented
164 Class Method __iter__ Undocumented
Line # Kind Name Docs
228 Class Method __delitem__ Remove the named set.
211 Class Method __getitem__ Returns the named set.
206 Method __init__ Creates an empty dynamic named sets object.
164 Class Method __iter__ Undocumented
160 Class Method __len__ Undocumented
154 Class Method __repr__ Undocumented
224 Class Method add Add one one value to the named set.
232 Class Method clear Undocumented
137 Method keys Return a collection of the names of the existing sets.
215 Class Method remove Remove the value from the set named name.
def __init__(self):
Creates an empty dynamic named sets object.
@classmethod
def __getitem__(self, key):
Returns the named set.

@param name: the name of the set @return: an iterator to the named set.

@classmethod
def remove(self, key, value):
Remove the value from the set named name.

@param name: the name of the set to remove the value from @param value: the value to remove from the named set

@classmethod
def add(self, key, value):
Add one one value to the named set.

@param name: the name of the set @param value: the value to be added to the set

@classmethod
def __delitem__(self, key):
Remove the named set.

@param name: the name of the set to be removed.

@classmethod
def clear(self):
Undocumented
API Documentation for PIDA, generated by pydoctor.