Parameters |
Description |
const char * name |
[in] A pointer to a string that contains the attribute name. |
Entity * parentEntity |
[in] A pointer to entity definition that keeps the attribute. |
const Entity * domain |
[in] A pointer to referencing entity definition of the attribute. redeclaring |
const ExplicitAttribute * invertedAttr |
[in] A pointer to attribute definition in the referencing entity type whose relationship is being inverted. |
int minCardinality = Consts::OdIntUnset |
[in] A minimum number of references from the inverted attribute. |
int maxCardinality = Consts::OdIntUnset |
[in] A maximum number of references from the inverted attribute. |
bool duplicates = false |
[in] A flag that determines whether the value of the created attribute may contain duplicates (equal to true) or may not contain duplicates (equal to false). |
Returns a smart pointer to the created inverse attribute instance.
Creates a new inverse attribute definition for an entity with a specified name.
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.
|