|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opttek.optquest.COptQuestCompoundConstraint
com.opttek.optquest.COptQuestOrConstraint
The COptQuestOrConstraint class allows you to define a logical "or" relationship
among COptQuestConstraint objects. Any number of COptQuestConstraint objects can
be added to the COptQuestOrConstraint object.
The COptQuestConstraint objects are
added to the the COptQuestOrConstraint object, and the COptQuestOrConstraint object is added to
the COptQuestOptimization object using the COptQuestOptimization::AddConstraint()
method.
| Constructor Summary | |
COptQuestOrConstraint()
Default constructor |
|
COptQuestOrConstraint(java.lang.String name)
Constructor that assigns a name to the COptQuestOrConstraint |
|
| Method Summary | |
void |
AddConstraint(COptQuestConstraint constraint)
Adds a COptQuestConstraint object to the COptQuestOrConstraint. |
COptQuestConstraint |
GetConstraintAt(int index)
Returns the COptQuestConstraint object at the specified index. |
java.lang.String |
GetName()
Returns the name assigned to the COptQuestOrConstraint. |
int |
GetNumberOfConstraints()
Returns the number of COptQuestConstraint objects that were added by calls to COptQuestOrConstraint::AddConstraint(). |
void |
SetName(java.lang.String value)
Assigns a name to the COptQuestOrConstraint |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public COptQuestOrConstraint(java.lang.String name)
name - alphanumeric namepublic COptQuestOrConstraint()
| Method Detail |
public void SetName(java.lang.String value)
value - alphanumeric namepublic java.lang.String GetName()
public void AddConstraint(COptQuestConstraint constraint)
constraint - a COptQuestConstraint objectpublic int GetNumberOfConstraints()
public COptQuestConstraint GetConstraintAt(int index)
index - 0 based index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||