Cdaqdatainfo::isobject, Cdaqdatainfo::operator, Cdaqdatainfo::setclasschinfo – Yokogawa PC-Based MX100 User Manual

Page 45

Advertising
background image

2-22

IM MX190-01E

CDAQDataInfo::isObject

Syntax

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

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 overriden in order to check their own classes.

Returns true (valid) if the class was inherited. Otherwise, returns false (invalid).

Return value

Returns a return value of 1 (true), or 0 (false).

CDAQDataInfo::operator=

Syntax

CDAQDataInfo & operator=(CDAQDataInfo & cDataInfo);

Parameters

cDataInfo

Specify an object for substitution.

Description

Copies the data member of the specified object.
Also copies the association with the channel information data.

Return value

Returns the reference to the object.

CDAQDataInfo::setClassChInfo

Syntax

void setClassChInfo(CDAQChInfo * pcChInfo);

Parameters

pcChInfo

Specify the association with the channel information data.

Description

Stores the specified value in the association field of the channel information data of

the data member.

2.4 Details of the MX100/DARWIN Common Class

Advertising