16 #include <pv/pvIntrospect.h>
17 #include <pv/pvData.h>
21 namespace epics {
namespace pvData {
24 typedef std::tr1::shared_ptr<Convert> ConvertPtr;
49 static ConvertPtr getConvert();
71 {getString(buf, pvField.get(), 0);}
88 std::size_t fromString(
91 std::size_t fromStartIndex = 0);
125 std::size_t fromStringArray(
127 std::size_t offset, std::size_t length,
129 std::size_t fromOffset);
143 std::size_t toOffset);
291 static inline ConvertPtr getConvert() {
return Convert::getConvert(); }
double toDouble(PVScalarPtr const &pv)
void fromUInt(PVScalarPtr const &pv, uint32 from)
void copy(PVFieldPtr const &from, PVFieldPtr const &to)
uint64 toULong(PVScalarPtr const &pv)
int16 toShort(PVScalarPtr const &pv)
void fromULong(PVScalarPtr const &pv, uint64 from)
std::tr1::shared_ptr< PVScalar > PVScalarPtr
void fromLong(PVScalarPtr const &pv, int64 from)
float toFloat(PVScalarPtr const &pv)
std::string toString(PVScalarPtr const &pv)
uint8 toUByte(PVScalarPtr const &pv)
void fromByte(PVScalarPtr const &pv, int8 from)
void fromFloat(PVScalarPtr const &pv, float from)
std::tr1::shared_ptr< PVScalarArray > PVScalarArrayPtr
std::tr1::shared_ptr< PVField > PVFieldPtr
int32 toInt(PVScalarPtr const &pv)
void fromUShort(PVScalarPtr const &pv, uint16 from)
void fromDouble(PVScalarPtr const &pv, double from)
void fromUByte(PVScalarPtr const &pv, uint8 from)
PVField is the base class for each PVData field.
Conversion and Copy facility for pvData.
int8 toByte(PVScalarPtr const &pv)
int64 toLong(PVScalarPtr const &pv)
std::tr1::shared_ptr< PVStructure > PVStructurePtr
void fromInt(PVScalarPtr const &pv, int32 from)
uint32 toUInt(PVScalarPtr const &pv)
void fromString(PVScalarPtr const &pv, std::string const &from)
uint16 toUShort(PVScalarPtr const &pv)
void fromShort(PVScalarPtr const &pv, int16 from)
void getString(std::string *buf, PVFieldPtr const &pvField)