2cdaqmxsysinfo::ismodulevalid, Cdaqmxsysinfo::isobject, Cdaqmxsysinfo::operator – Yokogawa PC-Based MX100 User Manual

Page 228

Advertising
background image

2-205

IM MX190-01E

MX100 -Visual C++

2

CDAQMXSysInfo::isModuleValid

Syntax

int isModuleValid(int moduleNo);

Parameters

moduleNo

Specify the module number.

Description

Gets the Boolean value of the module corresponding to the specified module
number from the System configuration data field of the data member.

If it does not exist, Invalid is returned.

Return value

Returns a Boolean value.

Reference

getMXModuleData

CDAQMXSysInfo::isObject

Syntax

virtual int isObject(const char * classname = "CDAQMXSysInfo");

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).

Return value

Returns a Boolean value.

CDAQMXSysInfo::operator=

Syntax

CDAQMXSysInfo & operator=(CDAQMXSysInfo & cMXSysInfo);

Parameters

cMXSysInfo

Specify an object for substitution.

Description

Copies the data member of the specified object.

Return value

Returns the reference to the object.

2.5 Details of the MX100 Class

Advertising