Cdaqdarwindatainfo::isobject, Cdaqdarwindatainfo::operator, Cdaqdarwindatainfo::setalarm – Yokogawa PC-Based MX100 User Manual
Page 456
![background image](/manuals/360310/456/background.png)
7-58
IM MX190-01E
CDAQDARWINDataInfo::isObject
Syntax
virtual int isObject(const char * classname =
“CDAQDARWINDataInfo”;
Parameters
classname
Specify the class name using a string.
Description
Checks whether the specified class name was inherited.
If parameters are omitted, checks whether it is this class.
Classes that inherit this class must be overridden in order to check their own
classes.
Returns true (valid) if the class was inherited. Otherwise, returns false (invalid).
If different from this class, checks the parent class.
Return value
Returns a boolean value.
Reference
CDAQDataInfo::isObject
CDAQDARWINDataInfo::operator=
Syntax
CDAQDARWINDataInfo & operator=(CDAQDARWINDataInfo &
cDARWINDataInfo);
Parameters
cDARWINDataInfo
Specify an object for substitution.
Description
Copies the data member of the specified object .
Return value
Returns the reference to the object.
CDAQDARWINDataInfo::setAlarm
Syntax
void setAlarm(int levelNo, int iAlarmType);
Parameters
level
Specify the alarm level.
iAlarmType
Specify the alarm type.
Description
Stores the specified value in the alarm presence/absence field of the data member.
If the alarm level is outside the range, does nothing.
7.4 Details of the DARWIN Class