|
PVData C++
8.0.2
|
This class implements introspection object for scalar array. More...
#include <pv/pvIntrospect.h>


Public Types | |
| typedef std::tr1::shared_ptr< ScalarArray > | shared_pointer |
| typedef std::tr1::shared_ptr< const ScalarArray > | const_shared_pointer |
| typedef std::tr1::weak_ptr< ScalarArray > | weak_pointer |
| typedef std::tr1::weak_ptr< const ScalarArray > | const_weak_pointer |
| typedef ScalarArray & | reference |
| typedef const ScalarArray & | const_reference |
Public Types inherited from epics::pvData::Array | |
| enum | ArraySizeType { variable, fixed, bounded } |
| typedef std::tr1::shared_ptr< Array > | shared_pointer |
| typedef std::tr1::shared_ptr< const Array > | const_shared_pointer |
| typedef std::tr1::weak_ptr< Array > | weak_pointer |
| typedef std::tr1::weak_ptr< const Array > | const_weak_pointer |
| typedef Array & | reference |
| typedef const Array & | const_reference |
Public Types inherited from epics::pvData::Field | |
| enum | { isField =1 } |
| typedef std::tr1::shared_ptr< Field > | shared_pointer |
| typedef std::tr1::shared_ptr< const Field > | const_shared_pointer |
| typedef std::tr1::weak_ptr< Field > | weak_pointer |
| typedef std::tr1::weak_ptr< const Field > | const_weak_pointer |
Public Member Functions | |
| ScalarArray (ScalarType scalarType) | |
| ScalarType | getElementType () const |
| virtual ArraySizeType | getArraySizeType () const |
| virtual std::size_t | getMaximumCapacity () const |
| virtual std::string | getID () const |
| virtual std::ostream & | dump (std::ostream &o) const |
| virtual void | serialize (ByteBuffer *buffer, SerializableControl *control) const |
| virtual void | deserialize (ByteBuffer *buffer, DeserializableControl *control) |
| std::tr1::shared_ptr< PVScalarArray > | build () const |
Public Member Functions inherited from epics::pvData::Field | |
| Type | getType () const |
| std::tr1::shared_ptr< PVField > | build () const |
Public Member Functions inherited from epics::pvData::Serializable | |
| virtual | ~Serializable () |
Friends | |
| class | FieldCreate |
Additional Inherited Members | |
Static Public Attributes inherited from epics::pvData::Field | |
| static size_t | num_instances |
Protected Member Functions inherited from epics::pvData::Array | |
| Array (Type type) | |
Protected Member Functions inherited from epics::pvData::Field | |
| Field (Type type) | |
| void | cacheCleanup () |
This class implements introspection object for scalar array.
Definition at line 497 of file pvIntrospect.h.
| epics::pvData::ScalarArray::ScalarArray | ( | ScalarType | scalarType | ) |
Constructor
| scalarType | The scalarType for the field. |
| std::tr1::shared_ptr<PVScalarArray> epics::pvData::ScalarArray::build | ( | ) | const |
Allocate a new instance
|
virtual |
Deserialize buffer.
| buffer | serialization buffer. |
| flusher | deserialization control. |
Implements epics::pvData::Serializable.
|
virtual |
Puts the string representation to the stream.
| o | output stream. |
Implements epics::pvData::Field.
|
inlinevirtual |
Get array size type (i.e. variable/fixed/bounded size array).
Implements epics::pvData::Array.
Reimplemented in epics::pvData::FixedScalarArray, and epics::pvData::BoundedScalarArray.
Definition at line 514 of file pvIntrospect.h.
|
inline |
Get the scalarType for the elements.
Definition at line 512 of file pvIntrospect.h.
|
virtual |
Get the identification string.
Implements epics::pvData::Field.
Reimplemented in epics::pvData::FixedScalarArray, and epics::pvData::BoundedScalarArray.
|
inlinevirtual |
Get maximum capacity of the array.
Implements epics::pvData::Array.
Reimplemented in epics::pvData::FixedScalarArray, and epics::pvData::BoundedScalarArray.
Definition at line 516 of file pvIntrospect.h.
|
virtual |
Serialize field into given buffer.
| buffer | serialization buffer. |
| flusher | flush interface. |
Implements epics::pvData::Serializable.
Reimplemented in epics::pvData::FixedScalarArray, and epics::pvData::BoundedScalarArray.
1.8.13