Class Field

Nested Relationships

Nested Types

Inheritance Relationships

Base Types

  • public epics::pvData::Serializable (Class Serializable)

  • public std::tr1::enable_shared_from_this< Field >

Derived Types

Class Documentation

class Field : public virtual epics::pvData::Serializable, public std::tr1::enable_shared_from_this<Field>

This class implements introspection object for field.

Subclassed by epics::pvData::Array, epics::pvData::Scalar, epics::pvData::Structure, epics::pvData::Union

Public Types

enum [anonymous]

Values:

enumerator isField

Public Functions

POINTER_DEFINITIONS(Field)
virtual ~Field()
inline Type getType() const

Get the field type.

Returns

The type.

virtual std::string getID() const = 0

Get the identification string.

Returns

The identification string, can be empty.

virtual std::ostream &dump(std::ostream &o) const = 0

Puts the string representation to the stream.

Parameters

o – output stream.

Returns

The output stream.

std::tr1::shared_ptr<PVField> build() const

Allocate a new instance

Version

Added after 7.0.0

Public Static Attributes

static size_t num_instances

Protected Functions

Field(Type type)

Constructor

Parameters

type – The field type.

void cacheCleanup()
struct Helper

Public Static Functions

static inline unsigned hash(Field *fld)