| 
    OCILIB (C and C++ Driver for Oracle)
    4.6.3
    
   | 
 
#include <ocilib.hpp>
Inherits ocilib::HandleHolder< OCI_Event *>.
Public Types | |
| enum | EventTypeValues {  DatabaseStart = OCI_ENT_STARTUP, DatabaseShutdown = OCI_ENT_SHUTDOWN, DatabaseShutdownAny = OCI_ENT_SHUTDOWN_ANY, DatabaseDrop = OCI_ENT_DROP_DATABASE, Unregister = OCI_ENT_DEREGISTER, ObjectChanged = OCI_ENT_OBJECT_CHANGED }  | 
| Event type enumerated values.  More... | |
| enum | ObjectEventValues {  ObjectInserted = OCI_ONT_INSERT, ObjectUpdated = OCI_ONT_UPDATE, ObjectDeleted = OCI_ONT_DELETE, ObjectAltered = OCI_ONT_ALTER, ObjectDropped = OCI_ONT_DROP, ObjectGeneric = OCI_ONT_GENERIC }  | 
| Object events enumerated values.  More... | |
| typedef Enum< EventTypeValues > | EventType | 
| Event type.  More... | |
| typedef Enum< ObjectEventValues > | ObjectEvent | 
| Object events.  More... | |
Public Member Functions | |
| EventType | GetType () const | 
| Return the type of event reported by a notification.  | |
| ObjectEvent | GetObjectEvent () const | 
| Return the type of operation reported by a notification.  More... | |
| ostring | GetDatabaseName () const | 
| Return the name of the database that generated the event.  | |
| ostring | GetObjectName () const | 
| Return the name of the object that generated the event.  More... | |
| ostring | GetRowID () const | 
| Return the rowid of the altered database object row.  | |
| Subscription | GetSubscription () const | 
| Return the subscription that generated this event.  | |
This class wraps the OCILIB object handle OCI_Event and its related methods
Definition at line 7335 of file ocilib.hpp.
| typedef Enum<EventTypeValues> ocilib::Event::EventType | 
Object events.
Possible values are Event::ObjectEventValues
Definition at line 7400 of file ocilib.hpp.
Event type enumerated values.
Definition at line 7347 of file ocilib.hpp.
Object events enumerated values.
Definition at line 7377 of file ocilib.hpp.
      
  | 
  inline | 
Return the type of operation reported by a notification.
Definition at line 6709 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_EventGetOperation().
      
  | 
  inline | 
Return the name of the object that generated the event.
Definition at line 6719 of file ocilib_impl.hpp.
References ocilib::Check(), ocilib::MakeString(), and OCI_EventGetObject().