1 #ifndef DATASET_h__
2 #define DATASET_h__
3 
4 /*
5 ******************************************************************
6 ******************************************************************
7 *******                                                   ********
8 ******  (C) 1988-2010 Tecplot, Inc.                        *******
9 *******                                                   ********
10 ******************************************************************
11 ******************************************************************
12 */
13 
14 
15 /*
16  * DataSet functions involving zones, vars and the
17  * DataSet_s structure.  See dataset0.c for low level
18  * dataset functions and dataset2 for higher level
19  * functions.
20  */
21 
22 
23 #if defined TECPLOTKERNEL
24 /* CORE SOURCE CODE REMOVED */
25 #endif
26 
27 
28 #if defined TECPLOTKERNEL
29 /* CORE SOURCE CODE REMOVED */
30 #if defined USE_MACROS_FOR_FUNCTIONS
31 #else
32 #endif
33 #endif /* TECPLOTKERNEL */
34 
35 Boolean_t FieldDataItemDestructor(void       *ItemRef,
36                                   ArbParam_t  ClientData);
37 Boolean_t ZoneSpecItemDestructor(void       *ItemRef,
38                                  ArbParam_t  ClientData);
39 LgIndex_t ZoneOrVarListAdjustCapacityRequest(ArrayList_pa ZoneOrVarArrayList,
40                                              LgIndex_t    CurrentCapacity,
41                                              LgIndex_t    RequestedCapacity,
42                                              ArbParam_t   ClientData);
43 void CleanoutZoneSpec(ZoneSpec_s *ZoneSpec);
44 void ZoneSpecExcludeBndryConnsFromMetrics(ZoneSpec_s* ZoneSpec);
45 ZoneSpec_s *ZoneSpecAlloc(void);
46 void ZoneSpecDealloc(ZoneSpec_s **ZoneSpec);
47 void SetZoneSpecDefaults(ZoneSpec_s *ZoneSpec);
48 
49 #if defined TECPLOTKERNEL
50 /* CORE SOURCE CODE REMOVED */
51 #if defined USE_MACROS_FOR_FUNCTIONS
52 #else
53 #endif
54 #endif
55 
56 #define GetZoneSpec(ZoneSpecList,Zone) ((ZoneSpec_s *)ArrayListGetVoidPtr(ZoneSpecList,Zone))
57 #define GetZoneAuxData(DataSet, Zone) (GetZoneSpec((DataSet)->ZoneSpecList, (Zone))->AuxData)
58 #define GetVarSpec(VarSpecList,Var) ((VarSpec_s *)ArrayListGetVoidPtr(VarSpecList,Var))
59 #define GetVarAuxData(DataSet, Var) (GetVarSpec((DataSet)->VarSpecList, (Var))->AuxData)
60 #define GetStrandInfo(StrandInfoList, StrandID) ((StrandInfo_s *)ArrayListGetVoidPtr(StrandInfoList,StrandID))
61 
62 
63 #if defined TECPLOTKERNEL
64 /* CORE SOURCE CODE REMOVED */
65 #endif /* defined TECPLOTKERNEL */
66 
67 #endif // DATASET_h__
68