[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 2

Customized Attribute (CuAt) Object Class

Description

The Customized Attribute (CuAt) object class contains customized device-specific attribute information.

Device instances represented in the Customized Devices (CuDv) object class have attributes found in either the Predefined Attribute (PdAt) object class or the CuAt object class. There is an entry in the CuAt object class for attributes that take nondefault values. Attributes taking the default value are found in the PdAt object class. Each entry describes the current value of the attribute.

When changing the value of an attribute, the Predefined Attribute object class must be referenced to determine other possible attribute values.

Both attribute object classes must be queried to get a complete set of current values for a particular device's attributes. Use the getattr and putattr subroutines to retrieve and modify, respectively, customized attributes.

Descriptors

The Customized Attribute object class contains the following descriptors:

ODM Type Descriptor Name Description Descriptor Status
ODM_CHAR name[NAMESIZE] Device Name Required
ODM_CHAR attribute[ATTRNAMESIZE] Attribute Name Required
ODM_VCHAR value[ATTRVALSIZE] Attribute Value Required
ODM_CHAR type[FLAGSIZE] Attribute Type Required
ODM_CHAR generic[FLAGSIZE] Generic Attribute Flags Optional
ODM_CHAR rep[FLAGSIZE] Attribute Representation Flags Required
ODM_SHORT nls_index NLS Index Optional

These descriptors are described as follows:

Device Name Identifies the logical name of the device instance to which this attribute is associated.
Attribute Name Identifies the name of a customized device attribute.
Attribute Value Identifies a customized value associated with the corresponding Attribute Name. This value is a nondefault value.
Attribute Type Identifies the attribute type associated with the Attribute Name. This descriptor is copied from the Attribute Type descriptor in the corresponding PdAt object when the CuAt object is created.
Generic Attribute Flags Identifies the Generic Attribute flag or flags associated with the Attribute Name. This descriptor is copied from the Generic Attribute Flags descriptor in the corresponding PdAt object when the CuAt object is created.
Attribute Representation Flags Identifies the Attribute Value's representation. This descriptor is copied from the Attribute Representation flags descriptor in the corresponding Predefined Attribute object when the Customized Attribute object is created.
NLS Index Identifies the message number in the NLS message catalog that contains a textual description of the attribute. This descriptor is copied from the NLS Index descriptor in the corresponding Predefined Attribute object when the Customized Attribute object is created.

Related Information

ODM Device Configuration Object Classes.

Customized Devices (CuDv) object class, Predefined Attribute (PdAt) object class.

The getattr device configuration subroutine, putattr device configuration subroutine.

List of Device Configuration Subroutines in AIX Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]