source: issm/trunk-jpl/src/c/toolkits/ToolkitOptions.h@ 22558

Last change on this file since 22558 was 22558, checked in by Mathieu Morlighem, 7 years ago

CHG: better handling of toolkits, now remove option toolkit from options so that mkl does not get confused

File size: 643 bytes
RevLine 
[14633]1/* \file ToolkitOptions.h
2 * \brief create a class with a static string of options, and static methods to access it
3 * This is a way of protecting access to the toolkit options, and to make it accessible everywhere
4 * in the code.
5 */
6
7#ifndef _TOOLKIT_OPTIONS_H
8#define _TOOLKIT_OPTIONS_H
9
10class ToolkitOptions {
11
12 private:
[22558]13 static char* toolkittype;
[14633]14 static char* toolkitoptions;
15
16 public:
[22558]17 static void Init(const char* type_in,const char* options);
[14633]18 static char* GetToolkitType(void);
[14688]19 static char* GetToolkitOptionValue(const char* option);
[14633]20};
21
[14635]22char* TokenValue(char* tokenlist,const char* target);
23
[14633]24#endif /* _TOOLKIT_OPTIONS_H */
Note: See TracBrowser for help on using the repository browser.