PhoenixMock  1.8.7
Tools to split/merge/print mock used in Phoenix
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::STRING
@ STRING
Definition: OptionType.h:25
OptionType.h
getOptionTypeFromValue
OptionType::OptionType getOptionTypeFromValue(const T &value)
Get the POptionType from a value.
Definition: OptionType_impl.h:17
OptionType::OptionType
OptionType
Definition: OptionType.h:19
getOptionTypeFromType
OptionType::OptionType getOptionTypeFromType()
Get the POptionType from a type.
Definition: OptionType_impl.h:25