Parameters |
Description |
const char * name |
[in] A pointer to a string that the contains the attribute name. |
Entity * parentEntity |
[in] A pointer to entity definition that keeps the attribute. |
DictionaryInstance * domain = NULL |
[in] A pointer to data type defenition referenced by the attribute. redeclaring |
bool optional = false |
[in] A flag that determines whether the value of the created attribute is optional (equal to true) or mandatory (equal to false). |
Returns a smart pointer to the created explicit attribute instance.
Creates a new explicit attribute definition for entity with a specified name.
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.
|