getattr
| getattr | 
  Purpose
 
 Get an attribute of an entity.
 
  Synopsis
 
int getattr(XPRMcontext ctx, XPRMattrdesc attrdesc, void *ref, XPRMalltypes *value);
 
  Arguments
 
| 
     ctx 
     | 
     Mosel's execution context
     | 
| 
     attrdesc 
     | 
     An attribute descriptor
     | 
| 
     ref 
     | 
     An entity of the type associated to the attribute
     | 
| 
     value 
     | 
     Pointer to an area where the value of the attribute is returned
     | 
  Return value
 
 Type number of the returned value or
 0 in case of error.
  Further information
 
  This function makes it possible to retrieve an attribute of an entity using an attribute descriptor as returned by
 findattrdesc.
 
  Related topics
 
 
