Commit 8b4c2eb7 authored by bonnell's avatar bonnell

Add generated java files that were part of the last release. These can be...

Add generated java files that were part of the last release.  These can be auto-regenerated using the script regeneratejava.py

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@21320 18c085ea-50e0-402c-830e-de6fd14e8384
parent ab722414
// ***************************************************************************
//
// Copyright (c) 2000 - 2012, Lawrence Livermore National Security, LLC
// Produced at the Lawrence Livermore National Laboratory
// LLNL-CODE-442911
// All rights reserved.
//
// This file is part of VisIt. For details, see https://visit.llnl.gov/. The
// full copyright notice is contained in the file COPYRIGHT located at the root
// of the VisIt distribution or at http://www.llnl.gov/visit/copyright.html.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retain the above copyright notice,
// this list of conditions and the disclaimer below.
// - Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the disclaimer (as noted below) in the
// documentation and/or other materials provided with the distribution.
// - Neither the name of the LLNS/LLNL nor the names of its contributors may
// be used to endorse or promote products derived from this software without
// specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY,
// LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY
// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
// DAMAGE.
//
// ***************************************************************************
package llnl.visit;
import java.util.Vector;
import java.lang.Double;
// ****************************************************************************
// Class: AxisRestrictionAttributes
//
// Purpose:
// Attributes for axis restrictions
//
// Notes: Autogenerated by xml2java.
//
// Programmer: xml2java
// Creation: omitted
//
// Modifications:
//
// ****************************************************************************
public class AxisRestrictionAttributes extends AttributeSubject
{
private static int AxisRestrictionAttributes_numAdditionalAtts = 3;
public AxisRestrictionAttributes()
{
super(AxisRestrictionAttributes_numAdditionalAtts);
names = new Vector();
minima = new Vector();
maxima = new Vector();
}
public AxisRestrictionAttributes(int nMoreFields)
{
super(AxisRestrictionAttributes_numAdditionalAtts + nMoreFields);
names = new Vector();
minima = new Vector();
maxima = new Vector();
}
public AxisRestrictionAttributes(AxisRestrictionAttributes obj)
{
super(AxisRestrictionAttributes_numAdditionalAtts);
int i;
names = new Vector(obj.names.size());
for(i = 0; i < obj.names.size(); ++i)
names.addElement(new String((String)obj.names.elementAt(i)));
minima = new Vector(obj.minima.size());
for(i = 0; i < obj.minima.size(); ++i)
{
Double dv = (Double)obj.minima.elementAt(i);
minima.addElement(new Double(dv.doubleValue()));
}
maxima = new Vector(obj.maxima.size());
for(i = 0; i < obj.maxima.size(); ++i)
{
Double dv = (Double)obj.maxima.elementAt(i);
maxima.addElement(new Double(dv.doubleValue()));
}
SelectAll();
}
public int Offset()
{
return super.Offset() + super.GetNumAdditionalAttributes();
}
public int GetNumAdditionalAttributes()
{
return AxisRestrictionAttributes_numAdditionalAtts;
}
public boolean equals(AxisRestrictionAttributes obj)
{
int i;
// Compare the elements in the names vector.
boolean names_equal = (obj.names.size() == names.size());
for(i = 0; (i < names.size()) && names_equal; ++i)
{
// Make references to String from Object.
String names1 = (String)names.elementAt(i);
String names2 = (String)obj.names.elementAt(i);
names_equal = names1.equals(names2);
}
// Compare the elements in the minima vector.
boolean minima_equal = (obj.minima.size() == minima.size());
for(i = 0; (i < minima.size()) && minima_equal; ++i)
{
// Make references to Double from Object.
Double minima1 = (Double)minima.elementAt(i);
Double minima2 = (Double)obj.minima.elementAt(i);
minima_equal = minima1.equals(minima2);
}
// Compare the elements in the maxima vector.
boolean maxima_equal = (obj.maxima.size() == maxima.size());
for(i = 0; (i < maxima.size()) && maxima_equal; ++i)
{
// Make references to Double from Object.
Double maxima1 = (Double)maxima.elementAt(i);
Double maxima2 = (Double)obj.maxima.elementAt(i);
maxima_equal = maxima1.equals(maxima2);
}
// Create the return value
return (names_equal &&
minima_equal &&
maxima_equal);
}
// Property setting methods
public void SetNames(Vector names_)
{
names = names_;
Select(0);
}
public void SetMinima(Vector minima_)
{
minima = minima_;
Select(1);
}
public void SetMaxima(Vector maxima_)
{
maxima = maxima_;
Select(2);
}
// Property getting methods
public Vector GetNames() { return names; }
public Vector GetMinima() { return minima; }
public Vector GetMaxima() { return maxima; }
// Write and read methods.
public void WriteAtts(CommunicationBuffer buf)
{
if(WriteSelect(0, buf))
buf.WriteStringVector(names);
if(WriteSelect(1, buf))
buf.WriteDoubleVector(minima);
if(WriteSelect(2, buf))
buf.WriteDoubleVector(maxima);
}
public void ReadAtts(int index, CommunicationBuffer buf)
{
switch(index)
{
case 0:
SetNames(buf.ReadStringVector());
break;
case 1:
SetMinima(buf.ReadDoubleVector());
break;
case 2:
SetMaxima(buf.ReadDoubleVector());
break;
}
}
public String toString(String indent)
{
String str = new String();
str = str + stringVectorToString("names", names, indent) + "\n";
str = str + doubleVectorToString("minima", minima, indent) + "\n";
str = str + doubleVectorToString("maxima", maxima, indent) + "\n";
return str;
}
// Attributes
private Vector names; // vector of String objects
private Vector minima; // vector of Double objects
private Vector maxima; // vector of Double objects
}
......@@ -51,6 +51,9 @@
# Brad Whitlock, Thu Feb 2 10:48:50 PST 2012
# Adding in initial Variant, MapNode classes to rehab the Java client.
#
# Kathleen Biagas, Mon Jul 8 12:11:38 PDT 2013
# Added ThresholdOpAttributes.java.
#
#****************************************************************************/
PROJECT(JavaClient Java)
......@@ -157,6 +160,7 @@ SelectionSummary.java
SelectionVariableSummary.java
StatusAttributes.java
SyncAttributes.java
ThresholdOpAttributes.java
Variant.java
View2DAttributes.java
View3DAttributes.java
......
// ***************************************************************************
//
// Copyright (c) 2000 - 2012, Lawrence Livermore National Security, LLC
// Produced at the Lawrence Livermore National Laboratory
// LLNL-CODE-442911
// All rights reserved.
//
// This file is part of VisIt. For details, see https://visit.llnl.gov/. The
// full copyright notice is contained in the file COPYRIGHT located at the root
// of the VisIt distribution or at http://www.llnl.gov/visit/copyright.html.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retain the above copyright notice,
// this list of conditions and the disclaimer below.
// - Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the disclaimer (as noted below) in the
// documentation and/or other materials provided with the distribution.
// - Neither the name of the LLNS/LLNL nor the names of its contributors may
// be used to endorse or promote products derived from this software without
// specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY,
// LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY
// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
// DAMAGE.
//
// ***************************************************************************
package llnl.visit;
import java.lang.Byte;
import java.util.Vector;
// ****************************************************************************
// Class: CompactSILRestrictionAttributes
//
// Purpose:
// The class contains attributes for a compacted SIL restrictions.
//
// Notes: Autogenerated by xml2java.
//
// Programmer: xml2java
// Creation: omitted
//
// Modifications:
//
// ****************************************************************************
public class CompactSILRestrictionAttributes extends AttributeSubject
{
private static int CompactSILRestrictionAttributes_numAdditionalAtts = 3;
public CompactSILRestrictionAttributes()
{
super(CompactSILRestrictionAttributes_numAdditionalAtts);
useSet = new Vector();
topSet = new String("");
topSetIsAllOn = false;
}
public CompactSILRestrictionAttributes(int nMoreFields)
{
super(CompactSILRestrictionAttributes_numAdditionalAtts + nMoreFields);
useSet = new Vector();
topSet = new String("");
topSetIsAllOn = false;
}
public CompactSILRestrictionAttributes(CompactSILRestrictionAttributes obj)
{
super(CompactSILRestrictionAttributes_numAdditionalAtts);
int i;
useSet = new Vector(obj.useSet.size());
for(i = 0; i < obj.useSet.size(); ++i)
{
Byte bv = (Byte)obj.useSet.elementAt(i);
useSet.addElement(new Byte(bv.byteValue()));
}
topSet = new String(obj.topSet);
topSetIsAllOn = obj.topSetIsAllOn;
SelectAll();
}
public int Offset()
{
return super.Offset() + super.GetNumAdditionalAttributes();
}
public int GetNumAdditionalAttributes()
{
return CompactSILRestrictionAttributes_numAdditionalAtts;
}
public boolean equals(CompactSILRestrictionAttributes obj)
{
int i;
// Compare the elements in the useSet vector.
boolean useSet_equal = (obj.useSet.size() == useSet.size());
for(i = 0; (i < useSet.size()) && useSet_equal; ++i)
{
// Make references to Byte from Object.
Byte useSet1 = (Byte)useSet.elementAt(i);
Byte useSet2 = (Byte)obj.useSet.elementAt(i);
useSet_equal = useSet1.equals(useSet2);
}
// Create the return value
return (useSet_equal &&
(topSet.equals(obj.topSet)) &&
(topSetIsAllOn == obj.topSetIsAllOn));
}
// Property setting methods
public void SetUseSet(Vector useSet_)
{
useSet = useSet_;
Select(0);
}
public void SetTopSet(String topSet_)
{
topSet = topSet_;
Select(1);
}
public void SetTopSetIsAllOn(boolean topSetIsAllOn_)
{
topSetIsAllOn = topSetIsAllOn_;
Select(2);
}
// Property getting methods
public Vector GetUseSet() { return useSet; }
public String GetTopSet() { return topSet; }
public boolean GetTopSetIsAllOn() { return topSetIsAllOn; }
// Write and read methods.
public void WriteAtts(CommunicationBuffer buf)
{
if(WriteSelect(0, buf))
buf.WriteByteVector(useSet);
if(WriteSelect(1, buf))
buf.WriteString(topSet);
if(WriteSelect(2, buf))
buf.WriteBool(topSetIsAllOn);
}
public void ReadAtts(int index, CommunicationBuffer buf)
{
switch(index)
{
case 0:
SetUseSet(buf.ReadByteVector());
break;
case 1:
SetTopSet(buf.ReadString());
break;
case 2:
SetTopSetIsAllOn(buf.ReadBool());
break;
}
}
public String toString(String indent)
{
String str = new String();
str = str + ucharVectorToString("useSet", useSet, indent) + "\n";
str = str + stringToString("topSet", topSet, indent) + "\n";
str = str + boolToString("topSetIsAllOn", topSetIsAllOn, indent) + "\n";
return str;
}
// Attributes
private Vector useSet; // vector of Byte objects
private String topSet;
private boolean topSetIsAllOn;
}
This diff is collapsed.
// ***************************************************************************
//
// Copyright (c) 2000 - 2012, Lawrence Livermore National Security, LLC
// Produced at the Lawrence Livermore National Laboratory
// LLNL-CODE-442911
// All rights reserved.
//
// This file is part of VisIt. For details, see https://visit.llnl.gov/. The
// full copyright notice is contained in the file COPYRIGHT located at the root
// of the VisIt distribution or at http://www.llnl.gov/visit/copyright.html.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retain the above copyright notice,
// this list of conditions and the disclaimer below.
// - Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the disclaimer (as noted below) in the
// documentation and/or other materials provided with the distribution.
// - Neither the name of the LLNS/LLNL nor the names of its contributors may
// be used to endorse or promote products derived from this software without
// specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY,
// LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY
// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
// DAMAGE.
//
// ***************************************************************************
package llnl.visit;
// ****************************************************************************
// Class: DatabaseAttributes
//
// Purpose:
// This class contains the database attributes.
//
// Notes: Autogenerated by xml2java.
//
// Programmer: xml2java
// Creation: omitted
//
// Modifications:
//
// ****************************************************************************
public class DatabaseAttributes extends AttributeSubject
{
private static int DatabaseAttributes_numAdditionalAtts = 1;
public DatabaseAttributes()
{
super(DatabaseAttributes_numAdditionalAtts);
state = 0;
}
public DatabaseAttributes(int nMoreFields)
{
super(DatabaseAttributes_numAdditionalAtts + nMoreFields);
state = 0;
}
public DatabaseAttributes(DatabaseAttributes obj)
{
super(DatabaseAttributes_numAdditionalAtts);
state = obj.state;
SelectAll();
}
public int Offset()
{
return super.Offset() + super.GetNumAdditionalAttributes();
}
public int GetNumAdditionalAttributes()
{
return DatabaseAttributes_numAdditionalAtts;
}
public boolean equals(DatabaseAttributes obj)
{
// Create the return value
return ((state == obj.state));
}
// Property setting methods
public void SetState(int state_)
{
state = state_;
Select(0);
}
// Property getting methods
public int GetState() { return state; }
// Write and read methods.
public void WriteAtts(CommunicationBuffer buf)
{
if(WriteSelect(0, buf))
buf.WriteInt(state);
}
public void ReadAtts(int index, CommunicationBuffer buf)
{
SetState(buf.ReadInt());
}
public String toString(String indent)
{
String str = new String();
str = str + intToString("state", state, indent) + "\n";
return str;
}
// Attributes
private int state;
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
// ***************************************************************************
//
// Copyright (c) 2000 - 2012, Lawrence Livermore National Security, LLC
// Produced at the Lawrence Livermore National Laboratory
// LLNL-CODE-442911
// All rights reserved.
//
// This file is part of VisIt. For details, see https://visit.llnl.gov/. The
// full copyright notice is contained in the file COPYRIGHT located at the root
// of the VisIt distribution or at http://www.llnl.gov/visit/copyright.html.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retain the above copyright notice,
// this list of conditions and the disclaimer below.
// - Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the disclaimer (as noted below) in the
// documentation and/or other materials provided with the distribution.
// - Neither the name of the LLNS/LLNL nor the names of its contributors may
// be used to endorse or promote products derived from this software without
// specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL LAWRENCE LIVERMORE NATIONAL SECURITY,
// LLC, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY
// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
// DAMAGE.
//
// ***************************************************************************
package llnl.visit;
// ****************************************************************************
// Class: PlaneAttributes
//
// Purpose:
// Attributes for a plane
//
// Notes: Autogenerated by xml2java.
//
// Programmer: xml2java
// Creation: omitted
//
// Modifications:
//
// ****************************************************************************
public class PlaneAttributes extends AttributeSubject
{
private static int PlaneAttributes_numAdditionalAtts = 6;
public PlaneAttributes()
{
super(PlaneAttributes_numAdditionalAtts);
origin = new double[3];
origin[0] = 0;
origin[1] = 0;
origin[2] = 0;
normal = new double[3];
normal[0] = 0;
normal[1] = 0;
normal[2] = 1;
upAxis = new double[3];
upAxis[0] = 0;
upAxis[1] = 1;
upAxis[2] = 0;
haveRadius = false;
radius = 1;
threeSpace = false;
}
public PlaneAttributes(int nMoreFields)
{
super(PlaneAttributes_numAdditionalAtts + nMoreFields);
origin = new double[3];
origin[0] = 0;
origin[1] = 0;
origin[2] = 0;
normal = new double[3];
normal[0] = 0;
normal[1] = 0;
normal[2] = 1;
upAxis = new double[3];
upAxis[0] = 0;
upAxis[1] = 1;
upAxis[2] = 0;
haveRadius = false;
radius = 1;
threeSpace = false;
}
public PlaneAttributes(PlaneAttributes obj)
{
super(PlaneAttributes_numAdditionalAtts);
int i;
origin = new double[3];
origin[0] = obj.origin[0];
origin[1] = obj.origin[1];
origin[2] = obj.origin[2];
normal = new double[3];
normal[0] = obj.normal[0];
normal[1] = obj.normal[1];
normal[2] = obj.normal[2];
upAxis = new double[3];
upAxis[0] = obj.upAxis[0];
upAxis[1] = obj.upAxis[1];
upAxis[2] = obj.upAxis[2];
haveRadius = obj.haveRadius;
radius = obj.radius;
threeSpace = obj.threeSpace;
SelectAll();
}
public int Offset()
{
return super.Offset() + super.GetNumAdditionalAttributes();
}
public int GetNumAdditionalAttributes()
{
return PlaneAttributes_numAdditionalAtts;
}
public boolean equals(PlaneAttributes obj)
{
int i;
// Compare the origin arrays.
boolean origin_equal = true;
for(i = 0; i < 3 && origin_equal; ++i)
origin_equal = (origin[i] == obj.origin[i]);
// Compare the normal arrays.
boolean normal_equal = true;
for(i = 0; i < 3 && normal_equal; ++i)