|
PVData C++ 8.0.7
|
Data class for a structureArray. More...
#include <pv/pvData.h>


Public Member Functions | |
| virtual | ~PVValueArray () |
| virtual ArrayConstPtr | getArray () const |
| virtual size_t | getLength () const |
| virtual size_t | getCapacity () const |
| virtual void | setCapacity (size_t capacity) |
| virtual void | setLength (std::size_t length) |
| StructureArrayConstPtr | getStructureArray () const |
| std::size_t | append (std::size_t number) |
| bool | remove (std::size_t offset, std::size_t number) |
| void | compress () |
| virtual const_svector | view () const |
| Fetch a read-only view of the current array data. | |
| virtual void | swap (const_svector &other) |
| virtual void | replace (const const_svector &other) |
| virtual void | serialize (ByteBuffer *pbuffer, SerializableControl *pflusher) const |
| virtual void | deserialize (ByteBuffer *buffer, DeserializableControl *pflusher) |
| virtual void | serialize (ByteBuffer *pbuffer, SerializableControl *pflusher, std::size_t offset, std::size_t count) const |
| virtual std::ostream & | dumpValue (std::ostream &o) const |
| virtual std::ostream & | dumpValue (std::ostream &o, std::size_t index) const |
| void | copy (const PVStructureArray &from) |
| void | copyUnchecked (const PVStructureArray &from) |
Public Member Functions inherited from epics::pvData::detail::PVVectorStorage< PVStructurePtr, PVArray > | |
| svector | reuse () |
Public Member Functions inherited from epics::pvData::PVArray | |
| virtual | ~PVArray () |
| virtual void | setImmutable () |
| bool | isCapacityMutable () const |
| void | setCapacityMutable (bool isMutable) |
| virtual void | setCapacity (std::size_t capacity)=0 |
Public Member Functions inherited from epics::pvData::PVField | |
| virtual | ~PVField () |
| const std::string & | getFieldName () const |
| std::string | getFullName () const |
| std::size_t | getFieldOffset () const |
| std::size_t | getNextFieldOffset () const |
| std::size_t | getNumberFields () const |
| bool | isImmutable () const |
| const FieldConstPtr & | getField () const |
| PVStructure * | getParent () |
| const PVStructure * | getParent () const |
| void | postPut () |
| void | setPostHandler (PostHandlerPtr const &postHandler) |
| virtual bool | equals (PVField &pv) |
| void | copy (const PVField &from) |
| void | copyUnchecked (const PVField &from) |
Public Member Functions inherited from epics::pvData::Serializable | |
| virtual | ~Serializable () |
Public Member Functions inherited from epics::pvData::SerializableArray | |
| virtual | ~SerializableArray () |
| virtual void | serialize (ByteBuffer *buffer, SerializableControl *flusher) const=0 |
Protected Member Functions | |
| PVValueArray (StructureArrayConstPtr const &structureArray) | |
Protected Member Functions inherited from epics::pvData::detail::PVVectorStorage< PVStructurePtr, PVArray > | |
| PVVectorStorage (A a) | |
Protected Member Functions inherited from epics::pvData::PVArray | |
| PVArray (FieldConstPtr const &field) | |
| void | checkLength (size_t length) const |
Protected Member Functions inherited from epics::pvData::PVField | |
| PVField::shared_pointer | getPtrSelf () |
| PVField (FieldConstPtr field) | |
| void | setParentAndName (PVStructure *parent, std::string const &fieldName) |
Friends | |
| class | PVDataCreate |
Additional Inherited Members | |
Static Public Attributes inherited from epics::pvData::PVField | |
| static size_t | num_instances |
| const PVStructurePtr* epics::pvData::PVValueArray< PVStructurePtr >::const_pointer |
| const PVStructureArray& epics::pvData::PVValueArray< PVStructurePtr >::const_reference |
| std::tr1::shared_ptr<const PVStructureArray> epics::pvData::PVValueArray< PVStructurePtr >::const_shared_pointer |
| ::epics::pvData::shared_vector<const PVStructurePtr> epics::pvData::PVValueArray< PVStructurePtr >::const_svector |
| std::tr1::weak_ptr<const PVStructureArray> epics::pvData::PVValueArray< PVStructurePtr >::const_weak_pointer |
| PVStructurePtr* epics::pvData::PVValueArray< PVStructurePtr >::pointer |
| PVStructureArray& epics::pvData::PVValueArray< PVStructurePtr >::reference |
| std::tr1::shared_ptr<PVStructureArray> epics::pvData::PVValueArray< PVStructurePtr >::shared_pointer |
| PVStructurePtr epics::pvData::PVValueArray< PVStructurePtr >::value_type |
| std::tr1::weak_ptr<PVStructureArray> epics::pvData::PVValueArray< PVStructurePtr >::weak_pointer |
|
inlinevirtual |
| std::size_t epics::pvData::PVValueArray< PVStructurePtr >::append | ( | std::size_t | number | ) |
Append new elements to the end of the array.
| number | The number of elements to add. |
| void epics::pvData::PVValueArray< PVStructurePtr >::compress | ( | ) |
Compress. This removes all null elements from the array.
|
virtual |
Deserialize buffer.
| buffer | serialization buffer. |
| flusher | deserialization control. |
Implements epics::pvData::Serializable.
|
virtual |
Puts the PVField raw value to the stream.
| o | output stream. |
Reimplemented from epics::pvData::PVArray.
|
virtual |
Implements epics::pvData::PVArray.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
| bool epics::pvData::PVValueArray< PVStructurePtr >::remove | ( | std::size_t | offset, |
| std::size_t | number ) |
Remove elements from the array.
| offset | The offset of the first element to remove. |
| number | The number of elements to remove. |
|
inlinevirtual |
Discard current contents and replaced with the provided. Fails for Immutable arrays calls postPut()
Implements epics::pvData::detail::PVVectorStorage< PVStructurePtr, PVArray >.
|
virtual |
Serialize field into given buffer.
| buffer | serialization buffer. |
| flusher | flush interface. |
Implements epics::pvData::Serializable.
|
virtual |
Serialize field into given buffer.
| buffer | serialization buffer. |
| flusher | flush interface. |
| offset | offset in elements. |
| count | number of elements |
Implements epics::pvData::SerializableArray.
|
virtual |
Set the array capacity.
| capacity | The length. |
|
virtual |
|
virtual |
Exchange our contents for the provided.
| std::logic_error | for Immutable arrays. |
Callers must ensure that postPut() is called after the last swap() operation.
Before you call this directly, consider using the reuse(), or replace() methods.
Implements epics::pvData::detail::PVVectorStorage< PVStructurePtr, PVArray >.
|
inlinevirtual |
Fetch a read-only view of the current array data.
Implements epics::pvData::detail::PVVectorStorage< PVStructurePtr, PVArray >.
|
friend |