Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » QAnywhere » QAnywhere リファレンス » QAnywhere C++ API リファレンス » QAMessage クラス

 

castToBinaryMessage 関数

構文
QABinaryMessage * QAMessage::castToBinaryMessage()
備考

QAMessage を QABinaryMessage にキャストします。

変換演算子を使用して、この QAMessage を QABinaryMessage に変換することもできます。

変換演算子を使用して QAMessage を QABinaryMessage に変換するには、次のようにします。

 QAMessage *msg;
 QABinaryMessage *bmsg;
 ...
 bmsg = (QABinaryMessage *)(*msg);
 
戻り値

QABinaryMessage へのポインタ。処理後のメッセージが QABinaryMessage のインスタンスではない場合は NULL。