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

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

#include <pv/pvIntrospect.h>

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

Public Types

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

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
 

Static Public Attributes

static size_t num_instances
 

Protected Member Functions

 Field (Type type)
 
void cacheCleanup ()
 

Friends

struct Helper
 
class StructureArray
 
class Structure
 
class PVFieldPvt
 
class StandardField
 
class BasePVStructureArray
 
class FieldCreate
 

Detailed Description

This class implements introspection object for field.

Definition at line 328 of file pvIntrospect.h.

Constructor & Destructor Documentation

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

Constructor

Parameters
typeThe field type.

Member Function Documentation

std::tr1::shared_ptr<PVField> epics::pvData::Field::build ( ) const

Allocate a new instance

Version
Added after 7.0.0
virtual std::ostream& epics::pvData::Field::dump ( std::ostream o) const
pure virtual

Puts the string representation to the stream.

Parameters
ooutput stream.
Returns
The output stream.

Implemented in epics::pvData::Union, epics::pvData::Structure, epics::pvData::UnionArray, epics::pvData::StructureArray, epics::pvData::ScalarArray, and epics::pvData::Scalar.

virtual std::string epics::pvData::Field::getID ( ) const
pure virtual
Type epics::pvData::Field::getType ( ) const
inline

Get the field type.

Returns
The type.

Definition at line 340 of file pvIntrospect.h.


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