TIBCO Adapter SDK C++ Reference
MBinary::MBinary
MBinary
Construct an MBinary instance. This constructor creates a bounded binary instance by passing in a predefined binary type.
Remarks
You can specify a bounded binary class, such as binary.10 to indicate a binary of at most 10 bytes. To do so, prespecify it as a custom Scalar object using the TIBCO Designer software.
Parameters
Parameters Description
MClassRegistry* pMClassRegistry Class registry in which this MBinary is created.
const MString& rsBinaryClassName A predefined bounded binary class, such as binary. For example, 10 to indicate a binary of at most 10
const void* opaqueValue Binary data to encapsulate as an MBinary instance.
unsigned int uiBytes Size of the binary data you want to encapsulate.
Declaration
MBinary(MClassRegistry* pMClassRegistry, const MString& rsBinaryClassName, const void* opaqueValue, unsigned int uiBytes) throw(MException);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.