23 #include "ocilibcpp/types.hpp"
37 connection.GetHandle()
68 unsigned int size = OCI_SIZE_BUFFER;
79 const AnyPointer data = value.empty() ? nullptr :
static_cast<AnyPointer>(
const_cast<Raw::value_type*
>(&value[0])) ;
A connection or session with a specific database.
void SetVisibility(EnqueueVisibility value)
Set whether the new message is enqueued as part of the current transaction.
core::Enum< EnqueueModeValues > EnqueueMode
Message enqueuing mode.
EnqueueVisibility GetVisibility() const
Get the enqueuing/locking behavior.
EnqueueMode GetMode() const
Return the enqueuing mode of messages to enqueue.
void SetMode(EnqueueMode value)
Set the enqueuing mode of messages to put in the queue.
Raw GetRelativeMsgID() const
Get the current associated message identifier used for enqueuing messages using a sequence deviation.
void SetRelativeMsgID(const Raw &value)
Set a message identifier to use for enqueuing messages using a sequence deviation.
core::Enum< EnqueueVisibilityValues > EnqueueVisibility
Message visibility after begin queued.
Enqueue(const TypeInfo &typeInfo, const ostring &queueName)
Create a Enqueue object for the given queue.
void Put(const Message &message)
Enqueue a message the on queue associated to the Enqueue object.
Provides type information on Oracle Database objects.
Connection GetConnection() const
Return the connection associated with a statement.
Template Enumeration template class providing some type safety to some extends for manipulating enume...
Internal usage. Provide a buffer class with RAII capabilities.
OCI_SYM_PUBLIC boolean OCI_API OCI_EnqueueGetRelativeMsgID(OCI_Enqueue *enqueue, void *id, unsigned int *len)
Get the current associated message identifier used for enqueuing messages using a sequence deviation.
OCI_SYM_PUBLIC boolean OCI_API OCI_EnqueuePut(OCI_Enqueue *enqueue, OCI_Msg *msg)
Enqueue a message on the queue associated to the Enqueue object.
OCI_SYM_PUBLIC unsigned int OCI_API OCI_EnqueueGetSequenceDeviation(OCI_Enqueue *enqueue)
Return the sequence deviation of messages to enqueue to the queue.
OCI_SYM_PUBLIC boolean OCI_API OCI_EnqueueSetRelativeMsgID(OCI_Enqueue *enqueue, const void *id, unsigned int len)
Set a message identifier to use for enqueuing messages using a sequence deviation.
OCI_SYM_PUBLIC unsigned int OCI_API OCI_EnqueueGetVisibility(OCI_Enqueue *enqueue)
Get the enqueuing/locking behavior.
OCI_SYM_PUBLIC OCI_Enqueue *OCI_API OCI_EnqueueCreate(OCI_TypeInfo *typinf, const otext *name)
Create a Enqueue object for the given queue.
OCI_SYM_PUBLIC boolean OCI_API OCI_EnqueueSetVisibility(OCI_Enqueue *enqueue, unsigned int visibility)
Set whether the new message is enqueued as part of the current transaction.
OCI_SYM_PUBLIC boolean OCI_API OCI_EnqueueSetSequenceDeviation(OCI_Enqueue *enqueue, unsigned int sequence)
Set the enqueuing sequence of messages to put in the queue.
static T Check(T result)
Internal usage. Checks if the last OCILIB function call has raised an error. If so,...
Raw MakeRaw(AnyPointer result, unsigned int size)
Internal usage. Constructs a C++ Raw object from the given OCILIB raw buffer.
std::basic_string< otext, std::char_traits< otext >, std::allocator< otext > > ostring
string class wrapping the OCILIB otext * type and OTEXT() macros ( see Character sets )
std::vector< unsigned char > Raw
C++ counterpart of SQL RAW data type.
void * AnyPointer
Alias for the generic void pointer.