30 lines
793 B
C++
30 lines
793 B
C++
/*PVScalarArray.cpp*/
|
|
/**
|
|
* Copyright - See the COPYRIGHT that is included with this distribution.
|
|
* EPICS pvDataCPP is distributed subject to a Software License Agreement found
|
|
* in file LICENSE that is included with this distribution.
|
|
*/
|
|
#include <cstddef>
|
|
#include <cstdlib>
|
|
#include <string>
|
|
#include <cstdio>
|
|
#include "pvData.h"
|
|
#include "factory.h"
|
|
|
|
using std::tr1::static_pointer_cast;using std::tr1::static_pointer_cast;
|
|
|
|
namespace epics { namespace pvData {
|
|
|
|
PVScalarArray::~PVScalarArray() {}
|
|
|
|
PVScalarArray::PVScalarArray(PVStructure *parent,
|
|
ScalarArrayConstPtr scalarArray)
|
|
: PVArray(parent,scalarArray) {}
|
|
|
|
ScalarArrayConstPtr PVScalarArray::getScalarArray()
|
|
{
|
|
return static_pointer_cast<const ScalarArray>(PVField::getField());
|
|
}
|
|
|
|
}}
|