130 lines
4 KiB
C
130 lines
4 KiB
C
/*
|
|
* NOTICE and LICENSE for Tecplot Input/Output Library (TecIO) - OpenFOAM
|
|
*
|
|
* Copyright (C) 1988-2009 Tecplot, Inc. All rights reserved worldwide.
|
|
*
|
|
* Tecplot hereby grants OpenCFD limited authority to distribute without
|
|
* alteration the source code to the Tecplot Input/Output library, known
|
|
* as TecIO, as part of its distribution of OpenFOAM and the
|
|
* OpenFOAM_to_Tecplot converter. Users of this converter are also hereby
|
|
* granted access to the TecIO source code, and may redistribute it for the
|
|
* purpose of maintaining the converter. However, no authority is granted
|
|
* to alter the TecIO source code in any form or manner.
|
|
*
|
|
* This limited grant of distribution does not supersede Tecplot, Inc.'s
|
|
* copyright in TecIO. Contact Tecplot, Inc. for further information.
|
|
*
|
|
* Tecplot, Inc.
|
|
* 3535 Factoria Blvd, Ste. 550
|
|
* Bellevue, WA 98006, USA
|
|
* Phone: +1 425 653 1200
|
|
* http://www.tecplot.com/
|
|
*
|
|
*/
|
|
/*
|
|
*****************************************************************
|
|
*****************************************************************
|
|
******* ********
|
|
****** Copyright (C) 1988-2008 Tecplot, Inc. *******
|
|
******* ********
|
|
*****************************************************************
|
|
*****************************************************************
|
|
*/
|
|
#if !defined AUXDATA_h
|
|
#define AUXDATA_h
|
|
|
|
#if defined EXTERN
|
|
# undef EXTERN
|
|
#endif
|
|
#if defined AUXDATAMODULE
|
|
# define EXTERN
|
|
#else
|
|
# define EXTERN extern
|
|
#endif
|
|
|
|
/**
|
|
*/
|
|
EXTERN Boolean_t AuxDataIsValidNameChar(char Char,
|
|
Boolean_t IsLeadChar);
|
|
/**
|
|
*/
|
|
EXTERN Boolean_t AuxDataIsValidName(const char *Name);
|
|
|
|
/**
|
|
*/
|
|
EXTERN AuxData_pa AuxDataAlloc(void);
|
|
|
|
/**
|
|
*/
|
|
EXTERN void AuxDataDealloc(AuxData_pa *AuxData);
|
|
|
|
/**
|
|
*/
|
|
EXTERN Boolean_t AuxDataItemDestructor(void *ItemRef,
|
|
ArbParam_t ClientData);
|
|
/**
|
|
*/
|
|
EXTERN AuxData_pa AuxDataCopy(AuxData_pa AuxData,
|
|
Boolean_t ConsiderRetain);
|
|
|
|
/**
|
|
*/
|
|
EXTERN LgIndex_t AuxDataGetNumItems(AuxData_pa AuxData);
|
|
|
|
/**
|
|
*/
|
|
EXTERN Boolean_t AuxDataGetItemIndex(AuxData_pa AuxData,
|
|
const char *Name,
|
|
LgIndex_t *ItemIndex);
|
|
/**
|
|
*/
|
|
EXTERN void AuxDataGetItemByIndex(AuxData_pa AuxData,
|
|
LgIndex_t Index,
|
|
const char **Name,
|
|
ArbParam_t *Value,
|
|
AuxDataType_e *Type,
|
|
Boolean_t *Retain);
|
|
|
|
/**
|
|
*/
|
|
EXTERN Boolean_t AuxDataGetItemByName(AuxData_pa AuxData,
|
|
const char *Name,
|
|
ArbParam_t *Value,
|
|
AuxDataType_e *Type,
|
|
Boolean_t *Retain);
|
|
|
|
/**
|
|
*/
|
|
EXTERN Boolean_t AuxDataGetBooleanItemByName(AuxData_pa AuxData,
|
|
const char *Name,
|
|
Boolean_t *Value,
|
|
AuxDataType_e *Type,
|
|
Boolean_t *Retain);
|
|
|
|
/**
|
|
*/
|
|
EXTERN Boolean_t AuxDataSetItem(AuxData_pa AuxData,
|
|
const char *Name,
|
|
ArbParam_t Value,
|
|
AuxDataType_e Type,
|
|
Boolean_t Retain);
|
|
|
|
/**
|
|
*/
|
|
EXTERN Boolean_t AuxDataDeleteItemByName(AuxData_pa AuxData,
|
|
const char *Name);
|
|
|
|
/**
|
|
*/
|
|
EXTERN Boolean_t AuxDataAppendItems(AuxData_pa TargetAuxData,
|
|
AuxData_pa SourceAuxData);
|
|
/**
|
|
*/
|
|
EXTERN void AuxDataDeleteItemByIndex(AuxData_pa AuxData,
|
|
LgIndex_t Index);
|
|
|
|
#if defined TECPLOTKERNEL
|
|
/* CORE SOURCE CODE REMOVED */
|
|
#endif /* TECPLOTKERNEL */
|
|
|
|
#endif /* !defined AUXDATA_h */
|