\li <tt>p = v</tt>: Assigns the value to the packet field.
\li <tt>p.value(v)</tt>: same as above.
\li <tt>p.value()</tt>: Returns the fields value as an integer number.
- \li Use of p like an integer in most contexts: <tt>p += v</tt>, <tt>p *= v</tt>, <tt>v = p +
+ \li Use of p like an integer in most contexts: <tt>p += v</tt>, <tt>p *= v</tt>, <tt>v = p
1</tt> and so on. You will only need to use the explicit \c value() member in rare
circumstances when the automatic conversion is ambiguous or in some template contexts.
Int16LSBParser const & operator= (value_type other) { value(other); return *this; }
};
/** \brief Write parsed value to stream
- \related Int16Parser
+ \related Int16LSBParser
*/
inline std::ostream & operator<<(std::ostream & os, Int16LSBParser const & i)
{ os << i.value(); return os; }
//#include "IntParser.cti"
#endif
-
+\f
// Local Variables:
// mode: c++
// fill-column: 100