company logo

PropertyDefinition :: isVirtual - VIRTUAL option

Virtual members are members that can be overloaded in specialized structure definitions. This feature is typically used for function definitions in C++. It is, however, also possible to overload the property definition for structure properties (references and relationships) in specialized structures. When overloading structure properties, it is not possible to change the member type, i.e. references can be overloaded with reference members and relationships with relationship members, only.

Defining a base structure as virtual will create only one base instance in case of multiple inheritances (C++ feature) and is not supported for persistent structures.

When the function is called with an invalid property definition it, throws an exception.

Virtual collections are not stored bat evaluated instance by instance. Virtual collections should be defined for sequential access, only.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool PropertyDefinition  :: isVirtual (  )

If the function is not called with a valid database property definition it throws an exception.