/*PVScalarArray.cpp*/ /** * Copyright - See the COPYRIGHT that is included with this distribution. * EPICS pvData is distributed subject to a Software License Agreement found * in file LICENSE that is included with this distribution. */ /** * @author mrk */ #include #include #include #include #include #include using std::tr1::static_pointer_cast;using std::tr1::static_pointer_cast; namespace epics { namespace pvData { PVScalarArray::~PVScalarArray() {} PVScalarArray::PVScalarArray(ScalarArrayConstPtr const & scalarArray) : PVArray(scalarArray) {} const ScalarArrayConstPtr PVScalarArray::getScalarArray() const { return static_pointer_cast(PVField::getField()); } template<> std::ostream& PVValueArray::dumpValue(std::ostream& o, size_t index) const { return o << static_cast(*(get() + index)); } template<> std::ostream& PVValueArray::dumpValue(std::ostream& o, size_t index) const { return o << static_cast(*(get() + index)); } }}