StandardField IDs, dumpValue fix for (u)int8

This commit is contained in:
Matej Sekoranja
2012-10-10 17:59:12 +02:00
parent 04db13d00e
commit bd9f1d1949
4 changed files with 41 additions and 20 deletions
+11
View File
@@ -28,4 +28,15 @@ namespace epics { namespace pvData {
return static_pointer_cast<const Scalar>(PVField::getField());
}
template<>
std::ostream& PVScalarValue<int8>::dumpValue(std::ostream& o) const
{
return o << static_cast<int>(get());
}
template<>
std::ostream& PVScalarValue<uint8>::dumpValue(std::ostream& o) const
{
return o << static_cast<unsigned int>(get());
}
}}