コード例 #1
0
OutboundPacketStream& OutboundPacketStream::operator<<( const BundleTerminator& rhs )
{
    (void) rhs;

    if( !IsBundleInProgress() )
        throw BundleNotInProgressException();
    if( IsMessageInProgress() )
        throw MessageInProgressException();

    EndElement( messageCursor_ );

    return *this;
}
コード例 #2
0
	NxDeviceOscOutputMessage& NxDeviceOscOutputMessage::operator<<( const NxDeviceOscBundleTerminator& rhs )
	{
		(void) rhs;

		if( !IsBundleInProgress() )
			throw BundleNotInProgressException();
		if( IsMessageInProgress() )
			throw MessageInProgressException();

		EndElement( messageCursor_ );

		return *this;
	}