src/hg/instinct/bioInt2/bioIntDb.h 1.4

1.4 2009/03/27 20:15:52 jsanborn
updated code and added UI stubs
Index: src/hg/instinct/bioInt2/bioIntDb.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/bioInt2/bioIntDb.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 4 -r1.3 -r1.4
--- src/hg/instinct/bioInt2/bioIntDb.h	22 Mar 2009 01:07:28 -0000	1.3
+++ src/hg/instinct/bioInt2/bioIntDb.h	27 Mar 2009 20:15:52 -0000	1.4
@@ -82,8 +82,11 @@
 
 #define pathwaysCommaOut(el,f) pathwaysOutput(el,f,',',',');
 /* Print out pathways as a comma separated list including final comma. */
 
+void pathwaysJsonOutput(struct pathways *el, FILE *f);
+/* Print out pathways in JSON format. */
+
 #define PATHWAYGENES_NUM_COLS 2
 
 struct pathwayGenes
 /* Pathway Genes */
@@ -158,8 +161,11 @@
 
 #define pathwayGenesCommaOut(el,f) pathwayGenesOutput(el,f,',',',');
 /* Print out pathwayGenes as a comma separated list including final comma. */
 
+void pathwayGenesJsonOutput(struct pathwayGenes *el, FILE *f);
+/* Print out pathwayGenes in JSON format. */
+
 #define PATHWAYINFO_NUM_COLS 2
 
 struct pathwayInfo
 /* Pathway Information */
@@ -234,8 +240,11 @@
 
 #define pathwayInfoCommaOut(el,f) pathwayInfoOutput(el,f,',',',');
 /* Print out pathwayInfo as a comma separated list including final comma. */
 
+void pathwayInfoJsonOutput(struct pathwayInfo *el, FILE *f);
+/* Print out pathwayInfo in JSON format. */
+
 #define TISSUES_NUM_COLS 2
 
 struct tissues
 /* All available issues */
@@ -310,8 +319,11 @@
 
 #define tissuesCommaOut(el,f) tissuesOutput(el,f,',',',');
 /* Print out tissues as a comma separated list including final comma. */
 
+void tissuesJsonOutput(struct tissues *el, FILE *f);
+/* Print out tissues in JSON format. */
+
 #define DATATYPES_NUM_COLS 3
 
 struct dataTypes
 /* All available data types */
@@ -387,8 +399,11 @@
 
 #define dataTypesCommaOut(el,f) dataTypesOutput(el,f,',',',');
 /* Print out dataTypes as a comma separated list including final comma. */
 
+void dataTypesJsonOutput(struct dataTypes *el, FILE *f);
+/* Print out dataTypes in JSON format. */
+
 #define DATASETS_NUM_COLS 8
 
 struct datasets
 /* All available datasets */
@@ -469,8 +484,11 @@
 
 #define datasetsCommaOut(el,f) datasetsOutput(el,f,',',',');
 /* Print out datasets as a comma separated list including final comma. */
 
+void datasetsJsonOutput(struct datasets *el, FILE *f);
+/* Print out datasets in JSON format. */
+
 #define COHORTS_NUM_COLS 2
 
 struct cohorts
 /* All cohorts */
@@ -545,8 +563,11 @@
 
 #define cohortsCommaOut(el,f) cohortsOutput(el,f,',',',');
 /* Print out cohorts as a comma separated list including final comma. */
 
+void cohortsJsonOutput(struct cohorts *el, FILE *f);
+/* Print out cohorts in JSON format. */
+
 #define DATASETCOHORT_NUM_COLS 2
 
 struct datasetCohort
 /* Dataset cohort lookup */
@@ -621,8 +642,11 @@
 
 #define datasetCohortCommaOut(el,f) datasetCohortOutput(el,f,',',',');
 /* Print out datasetCohort as a comma separated list including final comma. */
 
+void datasetCohortJsonOutput(struct datasetCohort *el, FILE *f);
+/* Print out datasetCohort in JSON format. */
+
 #define GENELOOKUP_NUM_COLS 2
 
 struct geneLookup
 /* Lookup table linking knownGene */
@@ -697,8 +721,11 @@
 
 #define geneLookupCommaOut(el,f) geneLookupOutput(el,f,',',',');
 /* Print out geneLookup as a comma separated list including final comma. */
 
+void geneLookupJsonOutput(struct geneLookup *el, FILE *f);
+/* Print out geneLookup in JSON format. */
+
 #define PROBEINFO_NUM_COLS 5
 
 struct probeInfo
 /* Probe Information */
@@ -776,8 +803,11 @@
 
 #define probeInfoCommaOut(el,f) probeInfoOutput(el,f,',',',');
 /* Print out probeInfo as a comma separated list including final comma. */
 
+void probeInfoJsonOutput(struct probeInfo *el, FILE *f);
+/* Print out probeInfo in JSON format. */
+
 #define PROBETOGENE_NUM_COLS 2
 
 struct probeToGene
 /* Lookup table linking probe id and gene id */
@@ -852,8 +882,11 @@
 
 #define probeToGeneCommaOut(el,f) probeToGeneOutput(el,f,',',',');
 /* Print out probeToGene as a comma separated list including final comma. */
 
+void probeToGeneJsonOutput(struct probeToGene *el, FILE *f);
+/* Print out probeToGene in JSON format. */
+
 #define PROBESAMPLEVAL_NUM_COLS 3
 
 struct probeSampleVal
 /* Probe values for single sample */
@@ -929,8 +962,11 @@
 
 #define probeSampleValCommaOut(el,f) probeSampleValOutput(el,f,',',',');
 /* Print out probeSampleVal as a comma separated list including final comma. */
 
+void probeSampleValJsonOutput(struct probeSampleVal *el, FILE *f);
+/* Print out probeSampleVal in JSON format. */
+
 #define PROBEVALS_NUM_COLS 3
 
 struct probeVals
 /* Probe values for all samples */
@@ -1002,8 +1038,11 @@
 
 #define probeValsCommaOut(el,f) probeValsOutput(el,f,',',',');
 /* Print out probeVals as a comma separated list including final comma. */
 
+void probeValsJsonOutput(struct probeVals *el, FILE *f);
+/* Print out probeVals in JSON format. */
+
 #define SAMPLES_NUM_COLS 7
 
 struct samples
 /* All sample info */
@@ -1083,8 +1122,11 @@
 
 #define samplesCommaOut(el,f) samplesOutput(el,f,',',',');
 /* Print out samples as a comma separated list including final comma. */
 
+void samplesJsonOutput(struct samples *el, FILE *f);
+/* Print out samples in JSON format. */
+
 #define FEATURES_NUM_COLS 4
 
 struct features
 /* All Features */
@@ -1161,8 +1203,11 @@
 
 #define featuresCommaOut(el,f) featuresOutput(el,f,',',',');
 /* Print out features as a comma separated list including final comma. */
 
+void featuresJsonOutput(struct features *el, FILE *f);
+/* Print out features in JSON format. */
+
 #define CLINICALDATA_NUM_COLS 4
 
 struct clinicalData
 /* All clinical data */
@@ -1239,8 +1284,11 @@
 
 #define clinicalDataCommaOut(el,f) clinicalDataOutput(el,f,',',',');
 /* Print out clinicalData as a comma separated list including final comma. */
 
+void clinicalDataJsonOutput(struct clinicalData *el, FILE *f);
+/* Print out clinicalData in JSON format. */
+
 #define ANALYSES_NUM_COLS 5
 
 struct analyses
 /* All analyses run */
@@ -1318,8 +1366,11 @@
 
 #define analysesCommaOut(el,f) analysesOutput(el,f,',',',');
 /* Print out analyses as a comma separated list including final comma. */
 
+void analysesJsonOutput(struct analyses *el, FILE *f);
+/* Print out analyses in JSON format. */
+
 #define ANALYSISMODULES_NUM_COLS 3
 
 struct analysisModules
 /* All analysis modules */
@@ -1395,8 +1446,11 @@
 
 #define analysisModulesCommaOut(el,f) analysisModulesOutput(el,f,',',',');
 /* Print out analysisModules as a comma separated list including final comma. */
 
+void analysisModulesJsonOutput(struct analysisModules *el, FILE *f);
+/* Print out analysisModules in JSON format. */
+
 #define ANALYSISPARAMS_NUM_COLS 3
 
 struct analysisParams
 /* All analysis parameters */
@@ -1472,8 +1526,11 @@
 
 #define analysisParamsCommaOut(el,f) analysisParamsOutput(el,f,',',',');
 /* Print out analysisParams as a comma separated list including final comma. */
 
+void analysisParamsJsonOutput(struct analysisParams *el, FILE *f);
+/* Print out analysisParams in JSON format. */
+
 #define ANALYSISFEATURES_NUM_COLS 2
 
 struct analysisFeatures
 /* All analysis features */
@@ -1548,8 +1605,11 @@
 
 #define analysisFeaturesCommaOut(el,f) analysisFeaturesOutput(el,f,',',',');
 /* Print out analysisFeatures as a comma separated list including final comma. */
 
+void analysisFeaturesJsonOutput(struct analysisFeatures *el, FILE *f);
+/* Print out analysisFeatures in JSON format. */
+
 #define ANALYSISVALS_NUM_COLS 4
 
 struct analysisVals
 /* All analysis vals */
@@ -1626,8 +1686,11 @@
 
 #define analysisValsCommaOut(el,f) analysisValsOutput(el,f,',',',');
 /* Print out analysisVals as a comma separated list including final comma. */
 
+void analysisValsJsonOutput(struct analysisVals *el, FILE *f);
+/* Print out analysisVals in JSON format. */
+
 /* -------------------------------- End autoSql Generated Code -------------------------------- */
 
 #endif /* BIOINTDB_H */