datahub_domaininfo

datahub_domaininfo — gives information about data domains.

Syntax

datahub_domaininfo(pattern?)
   

Arguments

pattern

A character string which specifies a search pattern

Returns

An array of instances of the DH_Domain class.

Description

This function provides information about all data domains whose names match the pattern, or all domains if the pattern is left blank. The pattern can contain the following special characters:

    matches any number of characters, including zero.

    [cmatches a single character which is a member of the set contained within the square brackets.

    [^cmatches any single character which is not a member of the set contained within the square brackets.

    matches a single character.

    {xx,yymatches either of the simple strings contained within the braces.

    \c (a backslash followed by a character) - matches that character.

Example

—> datahub_domaininfo();
[{DH_Domain (auto_created . 1) (n_assemblies . 0) (n_attributes . 0)
	    (n_bridges . 0) (n_points . 8) (name . "DataSim")} 
 {DH_Domain (auto_created . 0) (n_assemblies . 0) (n_attributes . 0)
	    (n_bridges . 0) (n_points . 6) (name . "MySource")} 
 {DH_Domain (auto_created . 0) (n_assemblies . 0) (n_attributes . 0)
	    (n_bridges . 0) (n_points . 3) (name . "default")}]

—> datahub_domaininfo("*Sim");
[{DH_Domain (auto_created . 1) (n_assemblies . 0) (n_attributes . 0)
	    (n_bridges . 0) (n_points . 8) (name . "DataSim")}