element_cone_list

class granoo3.lib.element_cone_list

Bases: granoo3.lib.element_cone_xset

an simple un-named list of element_cone

Methods Summary

add(arg1, arg2)

add a given item

clear(arg1)

clear the whole list

clear_and_delete(arg1)

clear the list and delete all the referenced objects

contain(arg1, arg2)

check if the list contains a given item

erase(arg1, arg2)

erase a given item from the list

first(arg1)

get the first item of the list

last(arg1)

get the last item of the list

Methods Documentation

add((element_cone_list)arg1, (element_cone)arg2) None[STATIC]

add a given item

clear((element_cone_list)arg1) None[STATIC]

clear the whole list

clear_and_delete((element_cone_list)arg1) None[STATIC]

clear the list and delete all the referenced objects

contain((element_cone_list)arg1, (element_cone)arg2) bool[STATIC]

check if the list contains a given item

erase((element_cone_list)arg1, (element_cone)arg2) None[STATIC]

erase a given item from the list

first((element_cone_list)arg1) element_cone[STATIC]

get the first item of the list

last((element_cone_list)arg1) element_cone[STATIC]

get the last item of the list