Commit 983408b9 authored by bonnell's avatar bonnell

Add PyThresholdOpAttributes so that Threshold operator's Python files can be autogenerated.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@22899 18c085ea-50e0-402c-830e-de6fd14e8384
parent 2bbcf19f
This diff is collapsed.
......@@ -40,11 +40,12 @@
#define PY_THRESHOLDATTRIBUTES_H
#include <Python.h>
#include <ThresholdAttributes.h>
#include <PyThresholdOpAttributes.h>
//
// Functions exposed to the VisIt module.
//
#define THRESHOLDATTRIBUTES_NMETH 16
#define THRESHOLDATTRIBUTES_NMETH (THRESHOLDOPATTRIBUTES_NMETH+2)
void PyThresholdAttributes_StartUp(ThresholdAttributes *subj, void *data);
void PyThresholdAttributes_CloseDown();
PyMethodDef * PyThresholdAttributes_GetMethodTable(int *nMethods);
......
......@@ -60,6 +60,9 @@
# Brad Whitlock, Fri May 18 16:35:34 PST 2012
# Change the version file that we use.
#
# Kathleen Biagas, Tue Feb 25 11:44:49 PST 2014
# Add visitpy/PyThresholdOpAttributes.
#
#****************************************************************************/
SET(COMMON_SOURCES
......@@ -157,6 +160,7 @@ visitpy/PySelectionProperties.C
visitpy/PySelectionSummary.C
visitpy/PySelectionVariableSummary.C
visitpy/PySelectionList.C
visitpy/PyThresholdOpAttributes.C
visitpy/PyView2DAttributes.C
visitpy/PyView3DAttributes.C
visitpy/PyViewAttributes.C
......
This diff is collapsed.
/*****************************************************************************
*
* Copyright (c) 2000 - 2013, 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.
*
*****************************************************************************/
#ifndef PY_THRESHOLDOPATTRIBUTES_H
#define PY_THRESHOLDOPATTRIBUTES_H
#include <Python.h>
#include <ThresholdOpAttributes.h>
#include <visitpy_exports.h>
//
// Functions exposed to the VisIt module.
//
#define THRESHOLDOPATTRIBUTES_NMETH 16
void VISITPY_API PyThresholdOpAttributes_StartUp(ThresholdOpAttributes *subj, void *data);
void VISITPY_API PyThresholdOpAttributes_CloseDown();
VISITPY_API PyMethodDef * PyThresholdOpAttributes_GetMethodTable(int *nMethods);
bool VISITPY_API PyThresholdOpAttributes_Check(PyObject *obj);
VISITPY_API ThresholdOpAttributes * PyThresholdOpAttributes_FromPyObject(PyObject *obj);
VISITPY_API PyObject * PyThresholdOpAttributes_New();
VISITPY_API PyObject * PyThresholdOpAttributes_Wrap(const ThresholdOpAttributes *attr);
void VISITPY_API PyThresholdOpAttributes_SetParent(PyObject *obj, PyObject *parent);
void VISITPY_API PyThresholdOpAttributes_SetDefaults(const ThresholdOpAttributes *atts);
std::string VISITPY_API PyThresholdOpAttributes_GetLogString();
std::string VISITPY_API PyThresholdOpAttributes_ToString(const ThresholdOpAttributes *, const char *);
VISITPY_API PyObject * PyThresholdOpAttributes_getattr(PyObject *self, char *name);
int VISITPY_API PyThresholdOpAttributes_setattr(PyObject *self, char *name, PyObject *args);
VISITPY_API extern PyMethodDef PyThresholdOpAttributes_methods[THRESHOLDOPATTRIBUTES_NMETH];
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment