2cdaqmxdatetime::initmxdatetime, Cdaqmxdatetime::isobject, Cdaqmxdatetime::operator – Yokogawa PC-Based MX100 User Manual

Page 184

Advertising
background image

2-161

IM MX190-01E

MX100 -Visual C++

2

CDAQMXDateTime::initMXDateTime

Syntax

static void initMXDateTime(MXDateTime * pMXDateTime);

Parameters

pMXDateTime

Specify the time information data field.

Description

Initializes the specified field.
The default value as a general rule is 0.

CDAQMXDateTime::isObject

Syntax

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

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

CDAQDateTime::isObject

CDAQMXDateTime::operator=

Syntax

CDAQMXDateTime & operator=(CDAQMXDateTime & cMXDateTime);

Parameters

cMXDateTime

Specify the data to be substituted using an object.

Description

Copies the data member from the specified object.

Return value

Returns the reference to the object.

2.5 Details of the MX100 Class

Advertising