oaDBType Class Reference


Public Methods

 oaDBType ()
 oaDBType (oaDBTypeEnum typeIn)
 oaDBType (const oaString &name)
 ~oaDBType ()
const oaStringgetName () const
 operator oaDBTypeEnum () const

Detailed Description

The oaDBType class is an enum wrapper class for oaDBTypeEnum values. It indicates the type of an OpenAccess database.

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

enum oaDBTypeEnum
 

Enumeration values:
oacFutureDBType  "Future"
oacDesignDBType  "Design"
oacTechDBType  "Tech"
oacLibDBType  "Lib"
oacWaferDBType  "Wafer"
oacSessionDBType  "Session"
oacDMDataDBType  "DMData"


Constructor & Destructor Documentation

oaDBType::oaDBType   [inline]
 

oaDBType::oaDBType oaDBTypeEnum    typeIn [inline]
 

This constructor creates an oaDBType object based on the enumerated value corresponding to the database type.

Parameters:
typeIn The enumerated value that represents the database type

oaDBType::oaDBType const oaString &    name
 

This constructor creates an oaDBType object based on the constant string value that represents the database type.

Parameters:
name A reference to a constant oaString object that holds the database type name

oaDBType::~oaDBType   [inline]
 

This is the destructor for the oaDBType class.


Member Function Documentation

const oaString & oaDBType::getName   const
 

This function returns a reference to a constant oaString object that represents the name of this database type.

oaDBType::operator oaDBTypeEnum   const [inline]
 

This operator returns the enumerated value that corresponds to the database type that this object represents.


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

Return to top of page