API Reference: DCKeywordList

DCKeywordList

    from pandac.PandaModules import DCKeywordList
    Class : DCKeywordList
    Description : This is a list of keywords (see DCKeyword) that may be set on a particular field.

Inheritance:

Methods of DCKeywordList:

compareKeywords
bool DCKeywordList::compare_keywords(DCKeywordList const &other) const;

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

getKeyword
DCKeyword const *DCKeywordList::get_keyword(int n) const;

Description: Returns the nth keyword in the list.

getKeywordByName
DCKeyword const *DCKeywordList::get_keyword_by_name(string const &name) const;

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

getNumKeywords
int DCKeywordList::get_num_keywords(void) const;

Description: Returns the number of keywords in the list.

hasKeyword
bool DCKeywordList::has_keyword(string const &name) const;

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