From: <ro...@us...> - 2011-03-11 22:00:04
|
Revision: 1831 http://nsclspectcl.svn.sourceforge.net/nsclspectcl/?rev=1831&view=rev Author: ron-fox Date: 2011-03-11 21:59:58 +0000 (Fri, 11 Mar 2011) Log Message: ----------- Add data types for spectrum definitions. Modified Paths: -------------- trunk/nextgen/primitives/spectcl_experiment.h Modified: trunk/nextgen/primitives/spectcl_experiment.h =================================================================== --- trunk/nextgen/primitives/spectcl_experiment.h 2011-03-11 21:58:38 UTC (rev 1830) +++ trunk/nextgen/primitives/spectcl_experiment.h 2011-03-11 21:59:58 UTC (rev 1831) @@ -128,6 +128,19 @@ } spectcl_spectrum_type; typedef pAugmentResult (AugmentCallback)(size_t, pParameterData, void*); + +typedef struct _spectrum_parameter { + char* s_name; + int s_dimension; +} spectrum_parameter; + +typedef struct _spectrum_definition { + char* s_name; + int s_version; + char* s_timestamp; + spectrum_paramter** s_parameters; +} spectrum_definition; + /** ** Function definitions; and globals: */ @@ -235,6 +248,7 @@ const char* type); char* spectcl_workspace_getDescription(spectcl_workspace ws, const char* type); + /** Functions used to create spectra and #ifdef __cplusplus This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |