DCKeywordList Class Reference

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

Inheritance diagram for DCKeywordList:
DCField DCAtomicField DCMolecularField DCParameter DCArrayParameter DCClassParameter DCSimpleParameter DCSwitchParameter

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. Order is not considered important. More...
 
const DCKeyword getKeyword (int n)
 Returns the nth keyword in the list. More...
 
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. More...
 
int getNumKeywords ()
 Returns the number of keywords in the list. More...
 
bool hasKeyword (const DCKeyword keyword)
 Returns true if this list includes the indicated keyword, false otherwise. More...
 
bool hasKeyword (str name)
 Returns true if this list includes the indicated keyword, false otherwise. More...
 

Detailed Description

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

Member Function Documentation

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.