odtone::mih::tlv_cast_
// In header: </home/carlos/Projectos/odtone/inc/odtone/mih/tlv.hpp> template<typename T, typename TLV> class tlv_cast_ { public: // public member functions tlv_type operator()(const T &) const; tlv_optional_type operator()(const boost::optional< T > &) const; };
Cast between the number of TLV and the data type presented in it, and the correspondent TLV type.
tlv_cast_
public member functionstlv_type operator()(const T & val) const;
Cast between the number of TLV and the data type presented in it, and the correspondent TLV type.
Parameters: |
|
||
Returns: |
The correspondent TLV type. |
tlv_optional_type operator()(const boost::optional< T > & val) const;
Cast between the number of TLV and the data type presented in it, and the correspondent TLV type. However it supports optional value.
Parameters: |
|
||
Returns: |
The correspondent TLV type. |