TIBCO Adapter SDK C++ Reference
MStringData Members
MStringData | Legend
Members
Methods
Method Description
= Assignment operator for character type.
= Assignment operator for for character string assignment.

= Assignment operator for MStringData assignment.

= Assignment operator for MStringData.

= Assignment operator for Unicode string (MWString) assignment.

data Retrieve the data encapsulated by this MStringData using best-case conversion if required.
downCast Safe cast operation for MStringData instances.
downCast Safe cast operation for MStringData instances.
getAsString Return the data encapsulated by the MStringData instance as a pointer to an MString.
getAsWString Return the data encapsulated by the MStringData instance as a pointer to an MWString.
getClassDescription Return the class for this MStringData instance.
getClassName Return the name of this class as a char*.
getEncoding Return the unicode encoding type of this MStringData, currently either ASCII or UTF16BC.
MStringData Constructs an MStringData instance using the specified source data encoding. If no encoding information is supplied, M_ASCII encoding is assumed.

This constructor is for 8-bit strings.

MStringData Constructs an MStringData instance from an 8-bit string.
MStringData Constructs an MStringData instance instance from a 16-bit string.
MStringData Constructs an MStringData instance using the sepcified source data encoding. If no encoding information is supplied, M_UTF16BE encoding is assumed.

This constructor creates an MStringData from a 16-bit character string passed.

numBytes Return the number of bytes encapsulated by this MStringData.
numChars Return the number of characters encapsulated by this MStringData.
toString Converts this MStringData instance to an MString.
wdata Retrieve the data encapsulated by this MStringData as a 16-bit string.
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.