oralib  0.0.8
Public Member Functions | Protected Attributes | Friends | List of all members
Oracle::OracleEnv Class Reference

Encapsulate the occi::Environment class. More...

#include <oracle.h>

Public Member Functions

 OracleEnv (bool=false)
 Construct by creating the occi::Environment. More...
 
 OracleEnv (const OracleEnv &)=delete
 
const OracleEnvoperator= (const OracleEnv &)=delete
 
 ~OracleEnv (void)
 Destroy by freeing the occi::Environment.
 
oracle::occi::Environment & operator() (void)
 

Protected Attributes

oracle::occi::Environment * m_env
 Wrapped OCCI object.
 

Friends

class Nexus
 

Detailed Description

Encapsulate the occi::Environment class.

An occi:environment holds the server interface policies and heap. An instance is thread safe, so you can create Nexus objects from it within multiple threads of execution. Use the call operator on an instance to access the underlying occi object.

Constructor & Destructor Documentation

◆ OracleEnv()

Oracle::OracleEnv::OracleEnv ( bool  threadSafe = false)

Construct by creating the occi::Environment.

Parameters
threadSafe- Create a thread safe Oracle environment.

The documentation for this class was generated from the following files: