コード例 #1
0
int
simv2_UnstructuredMesh_free(visit_handle h)
{
    VisIt_UnstructuredMesh *obj = GetObject(h, "simv2_UnstructuredMesh_free");
    int retval = VISIT_ERROR;
    if(obj != NULL)
    {
        delete obj;
        VisItFreePointer(h);
        retval = VISIT_OKAY;
    }
    return retval;
}
コード例 #2
0
int
simv2_CommandMetaData_free(visit_handle h)
{
    int retval = VISIT_ERROR;
    VisIt_CommandMetaData *obj = GetObject(h, "simv2_CommandMetaData_free");
    if(obj != NULL)
    {
        delete obj;
        VisItFreePointer(h);
        retval = VISIT_OKAY;
    }
    return retval;
}
コード例 #3
0
int
simv2_OptionList_free(visit_handle h)
{
    int retval = VISIT_ERROR;
    VisIt_OptionList *obj = GetObject(h, "simv2_OptionList_free");
    if(obj != NULL)
    {
        delete obj;
        VisItFreePointer(h);
        retval = VISIT_OKAY;
    }
    return retval;
}
コード例 #4
0
int
simv2_VariableData_free(visit_handle h)
{
    VisIt_VariableData *obj = GetVariableDataObject(h, "simv2_VariableData_free");
    int retval = VISIT_ERROR;
    if(obj != NULL)
    {
        delete obj;
        VisItFreePointer(h);
        retval = VISIT_OKAY;
    }
    return retval;
}