2cdaqmxchid::initmxchid, Cdaqmxchid::isobject, Cdaqmxchid::isvalid – Yokogawa PC-Based MX100 User Manual
Page 142
![background image](/manuals/360310/142/background.png)
2-119
IM MX190-01E
MX100 -Visual C++
2
CDAQMXChID::initMXChID
Syntax
static void initMXChID(MXChID * pMXChID);
Parameters
pMXChID
Specify the channel ID information field.
Description
Initializes the specified field.
The default value as a general rule is 0.
CDAQMXChID::isObject
Syntax
virtual int isObject(const char * classname = "CDAQMXChID");
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
CDAQChInfo::isObject
CDAQMXChID::isValid
Syntax
int isValid(void);
Description
Gets the channel status field from the data member.
The value of 0 is invalid; other values are valid.
Return value
Returns a Boolean value.
2.5 Details of the MX100 Class