Z3
src/api/java/Global.java
Go to the documentation of this file.
00001 
00018 package com.microsoft.z3;
00019 
00027 public final class Global
00028 {
00045     public static void setParameter(String id, String value)
00046     {
00047         Native.globalParamSet(id, value);
00048     }
00049     
00057     public static String getParameter(String id)
00058     {
00059         Native.StringPtr res = new Native.StringPtr();
00060         if (!Native.globalParamGet(id, res))
00061             return null;
00062         else
00063             return res.value;
00064     }    
00065     
00072     public static void resetParameters()
00073     {
00074         Native.globalParamResetAll();
00075     }
00076     
00083     public static void ToggleWarningMessages(boolean enabled)
00084            
00085     {
00086         Native.toggleWarningMessages((enabled) ? true : false);
00087     }
00088     
00094     public static void enableTrace(String tag)
00095     {
00096         Native.enableTrace(tag);
00097     }
00098 
00104     public static void disableTrace(String tag)
00105     {
00106         Native.disableTrace(tag);
00107     }
00108 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines