PhoenixInkscape  2.0.0
Generate multiple png files with svg inkscape files
OptionType_impl.h
Go to the documentation of this file.
1 /***************************************
2  Auteur : Pierre Aubert
3  Mail : pierre.aubert@lapp.in2p3.fr
4  Licence : CeCILL-C
5 ****************************************/
6 
7 #ifndef __POPTION_TYPE_IMPL_H__
8 #define __POPTION_TYPE_IMPL_H__
9 
10 #include "OptionType.h"
11 
13 
16 template<typename T>
18  return getOptionTypeFromType<T>();
19 }
20 
22 
24 template<typename T>
26  return OptionType::STRING;
27 }
28 
29 
30 #endif
31 
OptionType::OptionType getOptionTypeFromType()
Get the POptionType from a type.
OptionType::OptionType getOptionTypeFromValue(const T &value)
Get the POptionType from a value.