getclassmetatags

Table of Contents

Prototype: getclassmetatags(classname)

Return type: slist

Description: Returns the list of meta tags for class classname.

Arguments:

  • classname: string, in the range: [a-zA-Z0-9_$(){}\[\].:]+

Example:

body common control
{
      bundlesequence => { "example" };
}

bundle agent example
{
  classes:
      "c" expression => "any", meta => { "mytag" };

  vars:
      "ctags" slist => getclassmetatags("c");

  reports:
      "Found tags: $(ctags)";

}

Output:

R: Found tags: source=promise
R: Found tags: mytag

Notes:

See also: getvariablemetatags()