oaDualIntValue Class Reference

Inheritance diagram for oaDualIntValue:

oaValue oaObject


Public Methods

oaInt4 getFirst () const
oaInt4 getSecond () const
void setFirst (oaInt4 value)
void setSecond (oaInt4 value)

Static Public Methods

oaDualIntValue * create (oaObject *database, oaInt4 first, oaInt4 second)
oaDualIntValue * create (oaObject *database, const oaDualInt &value)

Detailed Description

The oaDualInValue class represents two integer values.

See oaValue for a discussion of the usage of all of the oaValue subclasses.


Member Function Documentation

oaDualIntValue * oaDualIntValue::create oaObject *    database,
const oaDualInt &    value
[static]
 

This function creates a two-integer value in the specified database.

Parameters:
database The database in which to create this dualIntValue.
value The oaDualInt value to set on this oaDualIntValue object.

oaDualIntValue * oaDualIntValue::create oaObject *    database,
oaInt4    first,
oaInt4    second
[static]
 

This function creates a dualInt value in the database specified.

Parameters:
database The database in which the value is created
first The first integer value
second The second integer value
Exceptions:
oacInvalidDatabase 

oaInt4 oaDualIntValue::getFirst   const
 

This function returns the first integer for this value.

oaInt4 oaDualIntValue::getSecond   const
 

This function returns the second for this value.

void oaDualIntValue::setFirst oaInt4    value
 

This function sets the first integer in this value to the specified value.

Parameters:
value The first integer value to set

void oaDualIntValue::setSecond oaInt4    value
 

This function sets the second integer of this value to the specified value.

Parameters:
value The second integer value to set


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

Return to top of page