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

Definition

1. If an instance of <Model> has model_reference_type set to SE_MDL_REF_TYP_ROOT or SE_MDL_REF_TYP_ROOT_AND_COMPONENT, then the <Model> instance's name shall be unique in the scope of its aggregate <Model Library>.
2. If an instance of <Model> has model_reference_type set to SE_MDL_REF_TYP_COMPONENT, then
 
2.1 any <Geometry Model Instance> or <Feature Model Instance> referencing that <Model> shall be in the scope of another <Model> instance,
2.2 its dynamic_model_processing flag 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>, 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> 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 which contains a <Model> with name set to "plane" and model_reference_type set to SE_MDL_REF_TYP_ROOT. The name "plane" cannot be used for any other <Model> in ML.

FAQs

No FAQs supplied.


Prev: Mandatory Metadata. Next: Model Spatial Reference Frame. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS