| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*************************************** | ||
| 2 | Auteur : Pierre Aubert | ||
| 3 | Mail : pierre.aubert@lapp.in2p3.fr | ||
| 4 | Licence : CeCILL-C | ||
| 5 | ****************************************/ | ||
| 6 | |||
| 7 | #ifndef __DICOVALUE_IMPL_H__ | ||
| 8 | #define __DICOVALUE_IMPL_H__ | ||
| 9 | |||
| 10 | #include "convertToString.h" | ||
| 11 | |||
| 12 | ///Convert the value of the current DicoValue into a type | ||
| 13 | /** @return converted value of the current DicoValue | ||
| 14 | */ | ||
| 15 | template<typename T> | ||
| 16 | 68 | T DicoValue::getValue() const{ | |
| 17 | 68 | return stringToValue<T>(p_value); | |
| 18 | } | ||
| 19 | |||
| 20 | #endif | ||
| 21 | |||
| 22 | |||
| 23 |