Last change
on this file since 6607 was
6607,
checked in by acosce, 10 months ago
|
XIOS used for ICOLMDZORINCA_CO2_Transport_GMD_2023
|
File size:
436 bytes
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | namespace xios |
---|
4 | { |
---|
5 | |
---|
6 | |
---|
7 | class CEnum_color |
---|
8 | { |
---|
9 | public: |
---|
10 | enum t_enum { rouge=0, vert, bleu} ; |
---|
11 | t_enum val ; |
---|
12 | |
---|
13 | const char** getStr(void) { static const char * enumStr[] = { "rouge", "vert", "bleu" } ; return enumStr ; } |
---|
14 | int getSize(void) { return 3 ; } |
---|
15 | } ; |
---|
16 | |
---|
17 | template <typename CEnumType> |
---|
18 | class CEnum : public CEnumType |
---|
19 | { |
---|
20 | public : |
---|
21 | // typedef CEnum<CEnumType>::t_enum myEnum; |
---|
22 | } ; |
---|
23 | } |
---|
24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.