Mobile API Reference  MicroStrategy 2019
MBase::Message::PlacementPtr Class Reference

#include <Message.h>

Public Member Functions

 PlacementPtr (void *ipBuffer, SizeType iBufferSizeInBytes)
 
 PlacementPtr (void *ipBuffer, SizeType iBufferSizeInBytes, const Message &irOther)
 
 PlacementPtr (void *ipBuffer, SizeType iBufferSizeInBytes, MessageDomain iDomain, MessageID iID, const char *ipTemplate=NULL)
 
 ~PlacementPtr () throw ()
 
Messageoperator* () const throw ()
 
Messageoperator-> () const throw ()
 
MessageGet () const throw ()
 
bool IsNull () const
 

Detailed Description

This pointer class constructs/destructs an instance of the Message class in a pre-allocated chunk of memory.

Note: this pointer class does NOT take ownership of the ipBuffer memory!

Constructor & Destructor Documentation

◆ PlacementPtr() [1/3]

MBase::Message::PlacementPtr::PlacementPtr ( void *  ipBuffer,
SizeType  iBufferSizeInBytes 
)

◆ PlacementPtr() [2/3]

MBase::Message::PlacementPtr::PlacementPtr ( void *  ipBuffer,
SizeType  iBufferSizeInBytes,
const Message irOther 
)

◆ PlacementPtr() [3/3]

MBase::Message::PlacementPtr::PlacementPtr ( void *  ipBuffer,
SizeType  iBufferSizeInBytes,
MessageDomain  iDomain,
MessageID  iID,
const char *  ipTemplate = NULL 
)

◆ ~PlacementPtr()

MBase::Message::PlacementPtr::~PlacementPtr ( )
throw (
)

Member Function Documentation

◆ Get()

Message* MBase::Message::PlacementPtr::Get ( ) const
throw (
)
inline

◆ IsNull()

bool MBase::Message::PlacementPtr::IsNull ( ) const
inline

◆ operator*()

Message& MBase::Message::PlacementPtr::operator* ( ) const
throw (
)
inline

◆ operator->()

Message* MBase::Message::PlacementPtr::operator-> ( ) const
throw (
)
inline