bioprocessing 6.0.4
scalarfeature.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1999-2001 CEA
3 *
4 * This software and supporting documentation were developed by
5 * CEA/DSV/SHFJ
6 * 4 place du General Leclerc
7 * 91401 Orsay cedex
8 * France
9 *
10 */
11
12#ifndef BIOPROCESSING_DATA_SCALARFEATURE_H
13#define BIOPROCESSING_DATA_SCALARFEATURE_H
14
15#include <map>
16#include <string>
17#include <vector>
18
19namespace bioprocessing {
20
21 // Declaration
79
80 typedef std::map<ScalarFeatureType::Code, std::string> ScalarFeatureMap;
82 std::vector<std::string> scalarfeaturenames();
83
84 template<ScalarFeatureType::Code FeatureType>
86 public:
87 static const std::string name() {
88 return scalarfeaturemap()[ FeatureType ];
89 }
90 };
91
92}
93
94#endif
static const std::string name()
std::vector< std::string > scalarfeaturenames()
ScalarFeatureMap scalarfeaturemap()
std::map< ScalarFeatureType::Code, std::string > ScalarFeatureMap