PVData C++  8.0.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
epics::pvData::Array Class Referenceabstract

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

#include <pv/pvIntrospect.h>

Inheritance diagram for epics::pvData::Array:
Inheritance graph
[legend]
Collaboration diagram for epics::pvData::Array:
Collaboration graph
[legend]

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< Arrayweak_pointer
 
typedef std::tr1::weak_ptr
< const Array
const_weak_pointer
 
typedef Arrayreference
 
typedef const Arrayconst_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< Fieldweak_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::ostreamdump (std::ostream &o) const =0
 
std::tr1::shared_ptr< PVFieldbuild () 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.

Constructor & Destructor Documentation

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

Constructor

Parameters
typeThe field type.

Member Function Documentation

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::UnionArray, epics::pvData::StructureArray, epics::pvData::FixedScalarArray, epics::pvData::BoundedScalarArray, and epics::pvData::ScalarArray.

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::UnionArray, epics::pvData::StructureArray, epics::pvData::FixedScalarArray, epics::pvData::BoundedScalarArray, and epics::pvData::ScalarArray.


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