BdsApi  2.2.2
This is the Blacknest BDS API.
Public Member Functions | Public Attributes | List of all members
Bds::Change Class Reference

This holds information on a medatdata or sensor data change. More...

#include <BdsD.h>

Inheritance diagram for Bds::Change:
BObj

Public Member Functions

 Change (BUInt32 id=0, BUInt32 changeGroupId=0, BTimeStamp time=BTimeStamp(), BString type=BString(), BString table=BString(), BUInt32 rowId=0)
 
BString getType ()
 
BError setMembers (BDictString &members)
 
BError setMember (BString name, BString value)
 
BError getMembers (BDictString &members)
 
BError getMember (BString name, BString &value)
 
- Public Member Functions inherited from BObj
 BObj ()
 
virtual ~BObj ()
 
virtual const char * getType () const
 
virtual const BObjMembergetMembers () const
 
virtual void membersPrint () const
 
virtual BString getDebugString ()
 

Public Attributes

BUInt32 id
 The unique id. More...
 
BUInt32 changeGroupId
 The Change group ID. More...
 
BTimeStamp time
 The Time the change was made. More...
 
BString type
 The change type. More...
 
BString table
 The database table affected. More...
 
BUInt32 rowId
 The database row affected. More...
 

Detailed Description

This holds information on a medatdata or sensor data change.

Whenever a change is made to the BDS metadata or data a Change object is added to the BDS Changes database. This describes which database table and object that was added or modified. Change's are normally grouped together by a ChangeGroup.

Constructor & Destructor Documentation

◆ Change()

Bds::Change::Change ( BUInt32  id = 0,
BUInt32  changeGroupId = 0,
BTimeStamp  time = BTimeStamp(),
BString  type = BString(),
BString  table = BString(),
BUInt32  rowId = 0 
)

Member Function Documentation

◆ getMember()

BError Bds::Change::getMember ( BString  name,
BString value 
)
virtual

Reimplemented from BObj.

◆ getMembers()

BError Bds::Change::getMembers ( BDictString members)
virtual

Reimplemented from BObj.

◆ getType()

BString Bds::Change::getType ( )

◆ setMember()

BError Bds::Change::setMember ( BString  name,
BString  value 
)
virtual

Reimplemented from BObj.

◆ setMembers()

BError Bds::Change::setMembers ( BDictString members)
virtual

Reimplemented from BObj.

Member Data Documentation

◆ changeGroupId

BUInt32 Bds::Change::changeGroupId

The Change group ID.

◆ id

BUInt32 Bds::Change::id

The unique id.

◆ rowId

BUInt32 Bds::Change::rowId

The database row affected.

◆ table

BString Bds::Change::table

The database table affected.

◆ time

BTimeStamp Bds::Change::time

The Time the change was made.

◆ type

BString Bds::Change::type

The change type.


The documentation for this class was generated from the following files: