The SEDRIS Data Representation Model
APPENDIX B - Constraints
Model Reference Type Constraints

Definition

  1. If a <Model> instance has model_reference_type set to SE_MODREFTYP_ROOT or SE_MODREFTYP_ROOT_AND_COMPONENT, the name field value of the <Model> instance shall be unique among the <Model> components of its <Model Library> instance.

  2. If a <Model> instance M has model_reference_type set to SE_MODREFTYP_COMPONENT,

    1. any <Geometry Model Instance> instance or <Feature Model Instance> instance referencing M shall be in the scope of another <Model> instance,

    2. the dynamic_model_processing flag of M shall be SE_FALSE.

Rationale

  1. The model_reference_type of <Model> indicates whether a given instance can be instanced as a free-standing object, as a component of another <Model> instance, or both.

  2. All potentially free-standing <Model> instances within the scope of a given <Model Library> instance are required to have unique names, so that such <Model> instances can be unambiguously and easily identified.

  3. A <Model> instance that cannot be instanced as a free-standing object can only be referenced within other <Model> instances.

  4. The dynamic_model_processing flag of <Model> is used only at the "top" level of <Model> data, that is, at the level where a <Model> instance represents a free-standing object.

Example

  1. Consider a <Model Library> instance ML that contains a <Model> component with name set to "plane" and model_reference_type set to SE_MODREFTYP_ROOT. The name "plane" cannot be used for any other <Model> component of ML.

FAQs

No FAQs supplied.


Prev: Mandatory Metadata. Next: Model SRF. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS