Developer

API Reference

ITRIGPLAYEREX_GetAttributeMetadataByName()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
Description
Returns the attribute metadata for the given attribute.
Parameters
  • po
    []:
    A pointer to an ITrigplayerEx object.
  • name
    []:
    The name of the attribute to look up.

Interface
ITRIGPLAYEREX
Prototype
   const TrigmlAttributeMetadata* ITRIGPLAYEREX_GetAttributeMetadataByName(ITrigplayerEx* po, const char* name);
Return
   A pointer to the attribute identified by the classId and id parameters.
   NULL if no such attribute exists.
Side Effect
None
Comment
Search by name is not a free operation and should be avoided if possible. It is usually necessary only when the class ID and ID of an attribute are unknown until runtime, because it is referenced by name (e.g. the element).
  • Follow