Package io.github.cvc5
Class OptionInfo
- java.lang.Object
- 
- io.github.cvc5.OptionInfo
 
- 
 public class OptionInfo extends java.lang.ObjectHolds some description about a particular option, including its name, its aliases, whether the option was explicitly set by the user, and information concerning its value. ThevalueInfomember holds any of the following alternatives:- 
     OptionInfo.VoidInfoif the option holds no value (or the value has no native type)
- 
     OptionInfo.ValueInfoif the option is of type boolean or String, holds the current value and the default value.
- 
     OptionInfo.NumberInfoif the option is of type BigInteger or double, holds the current and default value, as well as the minimum and maximum.
- 
     OptionInfo.ModeInfoif the option is a mode option, holds the current and default values, as well as a list of valid modes.
 booleanValue(),stringValue(),intValue(), anddoubleValue(). They assert that the option has the respective type and return the current value.
- 
     
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classOptionInfo.BaseInfoAbstract class for OptionInfo valuesclassOptionInfo.ModeInfoclassOptionInfo.NumberInfo<T>Default value, current value, minimum and maximum of a numeric valueclassOptionInfo.ValueInfo<T>Has the current and the default valueclassOptionInfo.VoidInfoHas no value information
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbooleanValue()Obtain the current value as a boolean.protected voiddeletePointer(long pointer)doubledoubleValue()Obtain the current value as a double.java.lang.String[]getAliases()OptionInfo.BaseInfogetBaseInfo()java.lang.StringgetName()longgetPointer()booleangetSetByUser()SolvergetSolver()java.math.BigIntegerintValue()Obtain the current value as as int.java.lang.StringstringValue()Obtain the current value as a string.java.lang.StringtoString()protected java.lang.StringtoString(long pointer)
 
- 
- 
- 
Field Detail- 
solverprotected final Solver solver 
 - 
pointerprotected long pointer 
 
- 
 - 
Method Detail- 
deletePointerprotected void deletePointer(long pointer) 
 - 
getPointerpublic long getPointer() 
 - 
toStringpublic java.lang.String toString() 
 - 
toStringprotected java.lang.String toString(long pointer) - Returns:
- A string representation of this OptionInfo.
 
 - 
getNamepublic java.lang.String getName() 
 - 
getAliasespublic java.lang.String[] getAliases() 
 - 
getSetByUserpublic boolean getSetByUser() 
 - 
getBaseInfopublic OptionInfo.BaseInfo getBaseInfo() 
 - 
booleanValuepublic boolean booleanValue() Obtain the current value as a boolean. Asserts that valueInfo holds a boolean.
 - 
stringValuepublic java.lang.String stringValue() Obtain the current value as a string. Asserts that valueInfo holds a string.
 - 
intValuepublic java.math.BigInteger intValue() Obtain the current value as as int. Asserts that valueInfo holds an int.
 - 
doubleValuepublic double doubleValue() Obtain the current value as a double. Asserts that valueInfo holds a double.
 - 
getSolverpublic Solver getSolver() 
 
- 
 
-