This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

CMDBQueryQualifierValueStruct structure

The CMDBQueryQualifierValueStruct structure holds the set of values and query conditions for a nested query.


typedef struct CMDBQueryQualifierValueStruct
{
   CMDB_QUERY_QUAL_VALUE_TYPE type;
   union
   {
      ARValueStruct value;
      CMDBQueryAttributeName attributeName;
      CMDBQueryArithOpStruct arithOp;
   } u;
} CMDBQueryQualifierValueStruct;



The CMDBQueryQualifierValueStruct structure consists of the following elements:

type

Specifies the object type for the structure instance that appears to the right of the logical operator. Depending on the option that is set for type, specify the value for any one of the other members in the structure.

  • 1 -- The right operand is a value(CMDB_QUERY_QUAL_VALUE_TYPE_VALUE ).
  • 2 -- The right operand is an attribute name of a class (CMDB_QUERY_QUAL_VALUE_TYPE_ATTRIBUTENAME ).
  • 3 -- The right operand is an arithmetic expression (CMDB_QUERY_QUAL_VALUE_TYPE_ARITHMETIC ).

value

The literal value for the query if type is set to CMDB_QUERY_QUAL_VALUE_TYPE_VALUE.

attributeName

A CMDBQueryAttribteName structure that specifies the attribute name for the query if the type is set to CMDB_QUERY_QUAL_VALUE_TYPE_ATTRIBUTENAME.

arithOp

The CMDBQueryArithOpStruct structure for the query if type is set to CMDB_QUERY_QUAL_VALUE_TYPE_ARITHMETIC. The structure holds the arithmetic operator and value for the attribute, for example, / 100.

Was this page helpful? Yes No Submitting... Thank you

Comments