Click or drag to resize

AttributeDatabase Class

A database of AttributeValue, with methods to enumerate, find and create attribute values.
Inheritance Hierarchy
SystemObject
  Demo3D.PLC.Comms.AttrDbAttributeDatabaseBase
    Demo3D.PLC.Comms.AttrDbAttributeDatabase

Namespace: Demo3D.PLC.Comms.AttrDb
Assembly: PLC (in PLC.dll) Version: 19.00.00
Syntax
C#
public class AttributeDatabase : AttributeDatabaseBase

The AttributeDatabase type exposes the following members.

Constructors
 NameDescription
Public methodAttributeDatabase Constructs an attribute database.
Top
Properties
 NameDescription
Public propertyMemAllocator The memory allocator.
Public propertyNumAttributes The number of attributes.
(Inherited from AttributeDatabaseBase)
Top
Methods
 NameDescription
Public methodFindAddOrUpdateAttributeValue Find, add or update an attribute value.

If an attribute value with the specified id does not exist, then the function 'create' is called to create a new attribute value. If the 'create' function is null then no new attribute value is added.

If an attribute value with the specified id already exists, then the function 'update' (if not null) is called to update the attribute value.


(Inherited from AttributeDatabaseBase)
Public methodGetAttributeValues Get all the attribute values.
(Inherited from AttributeDatabaseBase)
Public methodInitializeAttributeValues Add all the attribute values exposed as properties on an attribute value bag into this attribute value database.
Public methodStart Starts the attribute database.
Top
See Also