PVData C++ 8.0.9
Loading...
Searching...
No Matches
epics::pvData::Array Class Referenceabstract

This class implements introspection object for Array. More...

#include <pv/pvIntrospect.h>

Inheritance diagram for epics::pvData::Array:
Collaboration diagram for epics::pvData::Array:

Public Types

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

virtual ArraySizeType getArraySizeType () const =0
virtual std::size_t getMaximumCapacity () const =0
Public Member Functions inherited from epics::pvData::Field
Type getType () const
virtual std::string getID () const =0
virtual std::ostream & dump (std::ostream &o) const =0
std::tr1::shared_ptr< PVField > build () const
Public Member Functions inherited from epics::pvData::Serializable
virtual ~Serializable ()
virtual void serialize (ByteBuffer *buffer, SerializableControl *flusher) const =0
virtual void deserialize (ByteBuffer *buffer, DeserializableControl *flusher)=0

Protected Member Functions

 Array (Type type)
Protected Member Functions inherited from epics::pvData::Field
 Field (Type type)
void cacheCleanup ()

Additional Inherited Members

Static Public Attributes inherited from epics::pvData::Field
static size_t num_instances

Detailed Description

This class implements introspection object for Array.

Definition at line 454 of file pvIntrospect.h.

Member Typedef Documentation

◆ const_reference

typedef const Array& epics::pvData::Array::const_reference

Definition at line 459 of file pvIntrospect.h.

◆ const_shared_pointer

typedef std::tr1::shared_ptr<const Array> epics::pvData::Array::const_shared_pointer

Definition at line 456 of file pvIntrospect.h.

◆ const_weak_pointer

typedef std::tr1::weak_ptr<const Array> epics::pvData::Array::const_weak_pointer

Definition at line 456 of file pvIntrospect.h.

◆ reference

typedef Array& epics::pvData::Array::reference

Definition at line 458 of file pvIntrospect.h.

◆ shared_pointer

typedef std::tr1::shared_ptr<Array> epics::pvData::Array::shared_pointer

Definition at line 456 of file pvIntrospect.h.

◆ weak_pointer

typedef std::tr1::weak_ptr<Array> epics::pvData::Array::weak_pointer

Definition at line 456 of file pvIntrospect.h.

Member Enumeration Documentation

◆ ArraySizeType

enum epics::pvData::Array::ArraySizeType

Definition at line 461 of file pvIntrospect.h.

Constructor & Destructor Documentation

◆ Array()

epics::pvData::Array::Array ( Type type)
protected

Constructor

Parameters
typeThe field type.

Member Function Documentation

◆ getArraySizeType()

virtual ArraySizeType epics::pvData::Array::getArraySizeType ( ) const
pure virtual

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

Returns
array size type enum.

Implemented in epics::pvData::BoundedScalarArray, epics::pvData::FixedScalarArray, epics::pvData::ScalarArray, epics::pvData::StructureArray, and epics::pvData::UnionArray.

◆ getMaximumCapacity()

virtual std::size_t epics::pvData::Array::getMaximumCapacity ( ) const
pure virtual

Get maximum capacity of the array.

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

Implemented in epics::pvData::BoundedScalarArray, epics::pvData::FixedScalarArray, epics::pvData::ScalarArray, epics::pvData::StructureArray, and epics::pvData::UnionArray.


The documentation for this class was generated from the following file: