00001 package edu.rice.cs.hpc.data.experiment.scope; 00002 00003 /*public enum ScopeVisitType { 00004 PreVisit, PostVisit 00005 }*/ 00006 00007 /*public class ScopeVisitType { 00008 00009 public final static int PreVisit = 0; 00010 public final static int PostVisit = 1; 00011 00012 public int value; 00013 00014 public ScopeVisitType(int v) { value = v; }; 00015 public boolean isPreVisit() { return value == PreVisit; } 00016 public boolean isPostVisit() { return value == PostVisit; } 00017 }*/ 00018 00019 public class RootScopeType { 00020 public final static RootScopeType Flat = new RootScopeType("Flat"); 00021 public final static RootScopeType CallingContextTree = new RootScopeType("CallingContextTree"); 00022 // Laks 2008.08.07: We need separate type of rootscope for caller-tree since the view may have 00023 // different actions compared to other trees 00024 public final static RootScopeType CallerTree = new RootScopeType("CallerTree"); 00025 public final static RootScopeType Invisible = new RootScopeType("Invisible"); 00026 public String toString() { return value; } 00027 00028 private String value; 00029 protected RootScopeType(String value) { this.value = value; }; 00030 }