Panda3D
|
This is a list of keywords (see DCKeyword) that may be set on a particular field. More...
#include <pandadoc.hpp>
Public Member Functions | |
bool | compareKeywords (const DCKeywordList other) |
Returns true if this list has the same keywords as the other list, false if some keywords differ. | |
const DCKeyword | getKeyword (int n) |
Returns the nth keyword in the list. | |
const DCKeyword | getKeywordByName (str name) |
Returns the keyword in the list with the indicated name, or NULL if there is no keyword in the list with that name. | |
int | getNumKeywords () |
Returns the number of keywords in the list. | |
bool | hasKeyword (const DCKeyword keyword) |
Returns true if this list includes the indicated keyword, false otherwise. | |
bool | hasKeyword (str name) |
Returns true if this list includes the indicated keyword, false otherwise. | |
This is a list of keywords (see DCKeyword) that may be set on a particular field.
bool compareKeywords | ( | const DCKeywordList | other | ) |
Returns true if this list has the same keywords as the other list, false if some keywords differ.
Order is not considered important.
const DCKeyword getKeyword | ( | int | n | ) |
Returns the nth keyword in the list.
const DCKeyword getKeywordByName | ( | str | name | ) |
Returns the keyword in the list with the indicated name, or NULL if there is no keyword in the list with that name.
int getNumKeywords | ( | ) |
Returns the number of keywords in the list.
bool hasKeyword | ( | const DCKeyword | keyword | ) |
Returns true if this list includes the indicated keyword, false otherwise.
bool hasKeyword | ( | str | name | ) |
Returns true if this list includes the indicated keyword, false otherwise.