Class BoundedScalarArray

Inheritance Relationships

Base Type

Class Documentation

class BoundedScalarArray : public epics::pvData::ScalarArray

This class implements introspection object for bounded scalar array.

Public Types

typedef BoundedScalarArray &reference
typedef const BoundedScalarArray &const_reference

Public Functions

POINTER_DEFINITIONS(BoundedScalarArray)
BoundedScalarArray(ScalarType scalarType, std::size_t size)

Constructor

Parameters
  • scalarType – The scalarType for the field.

  • size – maximum (bound) capacity.

inline virtual ArraySizeType getArraySizeType() const

Get array size type (i.e. variable/fixed/bounded size array).

Returns

array size type enum.

inline virtual std::size_t getMaximumCapacity() const

Get maximum capacity of the array.

Returns

maximum capacity of the array, 0 indicates variable size array.

virtual std::string getID() const

Get the identification string.

Returns

The identification string, can be empty.

virtual void serialize(ByteBuffer *buffer, SerializableControl *control) const

Serialize field into given buffer.

Parameters
  • buffer – serialization buffer.

  • flusher – flush interface.

virtual ~BoundedScalarArray()