23 #include "ocilibcpp/types.hpp"
30 AcquireTransient(pEvent, Environment::GetEnvironmentHandle());
core::Enum< ObjectEventValues > ObjectEvent
Object events.
ostring GetRowID() const
Return the rowid of the altered database object row.
Subscription GetSubscription() const
Return the subscription that generated this event.
core::Enum< EventTypeValues > EventType
Event type.
ostring GetObjectName() const
Return the name of the object that generated the event.
ObjectEvent GetObjectEvent() const
Return the type of operation reported by a notification.
ostring GetDatabaseName() const
Return the name of the database that generated the event.
EventType GetType() const
Return the type of event reported by a notification.
Subscription to database or objects changes.
Template Enumeration template class providing some type safety to some extends for manipulating enume...
struct OCI_Event OCI_Event
OCILIB encapsulation of Oracle DCN event.
OCI_SYM_PUBLIC OCI_Subscription *OCI_API OCI_EventGetSubscription(OCI_Event *event)
Return the subscription handle that generated this event.
OCI_SYM_PUBLIC unsigned int OCI_API OCI_EventGetType(OCI_Event *event)
Return the type of event reported by a notification.
OCI_SYM_PUBLIC const otext *OCI_API OCI_EventGetObject(OCI_Event *event)
Return the name of the object that generated the event.
OCI_SYM_PUBLIC const otext *OCI_API OCI_EventGetDatabase(OCI_Event *event)
Return the name of the database that generated the event.
OCI_SYM_PUBLIC const otext *OCI_API OCI_EventGetRowid(OCI_Event *event)
Return the rowid of the altered database object row.
OCI_SYM_PUBLIC unsigned int OCI_API OCI_EventGetOperation(OCI_Event *event)
Return the type of operation reported by a notification.
static T Check(T result)
Internal usage. Checks if the last OCILIB function call has raised an error. If so,...
ostring MakeString(const otext *result, int size=-1)
Internal usage. Constructs a C++ string object from the given OCILIB string pointer.
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 )