DCKeywordList

from acron.direct import DCKeywordList
class DCKeywordList

Bases:

This is a list of keywords (see DCKeyword) that may be set on a particular field.

Inheritance diagram

digraph inheritance1036e17fa6 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DCKeywordList" [URL="acron.direct.DCKeywordList.html#acron.direct.DCKeywordList",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "DCKeywordList" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; }
compare_keywords()

Returns true if this list has the same keywords as the other list, false if some keywords differ. Order is not considered important.

get_keyword()

Returns the nth keyword in the list.

get_keyword_by_name()

Returns the keyword in the list with the indicated name, or NULL if there is no keyword in the list with that name.

get_num_keywords()

Returns the number of keywords in the list.

has_keyword()

Returns true if this list includes the indicated keyword, false otherwise.

Returns true if this list includes the indicated keyword, false otherwise.