oaThreadUseModel Class Reference


Public Methods

 oaThreadUseModel (oaThreadUseModelEnum valueIn)
 oaThreadUseModel (const oaString &name)
 ~oaThreadUseModel ()
const oaStringgetName () const
 operator oaThreadUseModelEnum () const

Detailed Description

The oaThreadUseModel class is an enumeration wrapper class for oaThreadUseModelEnum values.

See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers.

enum oaThreadUseModelEnum
 

Enumeration values:
oacSingleThreadUseModel  "single" where the application intends to use a single thread to access and create data
oacMultipleReadersThreadUseModel  "multipleReaders" where the application intends to use multiple read-only threads to concurrently access one or more databases
oacMultipleWritersThreadUseModel  "multipleWriters" where the application intends to use multiple threads to concurrently access, edit or create data


Constructor & Destructor Documentation

oaThreadUseModel::oaThreadUseModel oaThreadUseModelEnum    valueIn
 

oaThreadUseModel::oaThreadUseModel const oaString &    name
 

This constructor for an oaThreadUseModel wrapper object takes the string name of an oaThreadUseModelEnum value as input.

Parameters:
name The string name associated with an oaThreadUseModelEnum value.
Exceptions:
oacInvalidThreadUseModelName 

oaThreadUseModel::~oaThreadUseModel  
 

This is the oaThreadUseModel destructor.


Member Function Documentation

const oaString & oaThreadUseModel::getName   const
 

This function returns the string name of the oaThreadUseModelEnum value represented by this oaThreadUseModel object.

oaThreadUseModel::operator oaThreadUseModelEnum   const
 

This operation recasts this oaThreadUseModel object to the oaThreadUseModelEnum value it represents.


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

Return to top of page