23 #include "ocilibcpp/types.hpp"
33 connection.GetHandle()
39 AcquireTransient(pAgent, parent);
void SetAddress(const ostring &value)
Set the given AQ agent address.
void SetName(const ostring &value)
Set the given AQ agent name.
ostring GetAddress() const
Get the given AQ agent address.
ostring GetName() const
Get the given AQ agent name.
Agent(const Connection &connection, const ostring &name=OTEXT(""), const ostring &address=OTEXT(""))
Create an AQ agent object.
A connection or session with a specific database.
Internal usage. Interface for handling ownership and relationship of a C API handle.
OCI_SYM_PUBLIC const otext *OCI_API OCI_AgentGetName(OCI_Agent *agent)
Get the given AQ agent name.
OCI_SYM_PUBLIC boolean OCI_API OCI_AgentSetName(OCI_Agent *agent, const otext *name)
Set the given AQ agent name.
OCI_SYM_PUBLIC const otext *OCI_API OCI_AgentGetAddress(OCI_Agent *agent)
Get the given AQ agent address.
OCI_SYM_PUBLIC OCI_Agent *OCI_API OCI_AgentCreate(OCI_Connection *con, const otext *name, const otext *address)
Create an AQ agent object.
OCI_SYM_PUBLIC boolean OCI_API OCI_AgentSetAddress(OCI_Agent *agent, const otext *address)
Set the given AQ agent address.
struct OCI_Agent OCI_Agent
OCILIB encapsulation of A/Q Agent.
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 )