SEDRIS Reference Manual
APPENDIX B - Transmittal Access Level 1 API
Functions
SE ModelNameFromFMI
extern SE_Status_Code
SE_ModelNameFromFMI
(
SE_Object object_in, (notes)
SE_Store store_in, (notes)
constSE_String **result_out_ptr (notes)
);

Definition

Given a <Feature Model Instance>, retrieves the name of the <Model> that contains the <Feature Model> being instanced.


Returns

SE_STAT_CODE_SUCCESS and the output parameters are set appropriately, if valid parameters were passed in and all operations succeeded.
SE_STAT_CODE_UNRESOLVED_INPUT_OBJECT and no changes are made if object_in is unresolved.
SE_STAT_CODE_NO_OBJECT and no changes are made if
  1. object_in isn't associated to a <Feature Model> instance, or
  2. the <Feature Model> isn't a component of a <Model> instance.
SE_STAT_CODE_UNRESOLVED_OUTPUT_OBJECT and no changes are made if any unresolved intermediate object is encountered that cannot be resolved.
SE_STAT_CODE_INACTIONABLE_FAILURE and no changes are made if the fields of the <Model> cannot be retrieved.


Parameters Notes


object_in

 <Feature Model Instance> whose <Model> we're identifying

store_in

 store to manage the memory being retrieved

result_out_ptr

 pointer to a handle to the name being retrieved


Prev: SE_ImageNameFromImageMappingFunction. Next: SE_ModelNameFromGMI. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS