#include <FFlFEAttributeSpec.H>
◆ addLegalAttribute()
| bool FFlFEAttributeSpec::addLegalAttribute |
( |
const std::string & |
name, |
|
|
bool |
required = true, |
|
|
bool |
allowMulti = false |
|
) |
| |
Adds a legal attribute to the object.
- Parameters
-
| [in] | name | The name of the attribute |
| [in] | required | If true, the attribute is required in the object |
| [in] | allowMulti | If true, multiple instances are allowed in the object |
◆ dump()
| void FFlFEAttributeSpec::dump |
( |
| ) |
const |
◆ getAttributeName()
| const std::string & FFlFEAttributeSpec::getAttributeName |
( |
unsigned char |
typeID | ) |
const |
Returns the corresponding name to the input type.
◆ getAttributeTypeID()
| unsigned char FFlFEAttributeSpec::getAttributeTypeID |
( |
const std::string & |
name | ) |
const |
Returns the corresponding type ID to the input name.
◆ initTypeID()
| static void FFlFEAttributeSpec::initTypeID |
( |
| ) |
|
|
inlinestatic |
◆ isObsolete()
| bool FFlFEAttributeSpec::isObsolete |
( |
const std::string & |
attr | ) |
|
|
static |
Checks if the specified attribute is obsolete and should be silently ignored.
◆ multipleRefsAllowed()
| bool FFlFEAttributeSpec::multipleRefsAllowed |
( |
const std::string & |
name | ) |
const |
Checks if multiple references are allowed for the specified attribute.
◆ myLegalAttributes
| std::set<AttribType> FFlFEAttributeSpec::myLegalAttributes |
|
private |
The documentation for this class was generated from the following files: