![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Class that holds the data for each possible scalar type. More...
#include "pvData.h"
Public Types | |
typedef T | value_type |
typedef T * | pointer |
typedef const T * | const_pointer |
![]() | |
typedef PVScalar & | reference |
typedef const PVScalar & | const_reference |
![]() | |
enum | { isPVField =1 } |
Public Member Functions | |
POINTER_DEFINITIONS (PVScalarValue) | |
virtual | ~PVScalarValue () |
storage_t::arg_type | get () const |
void | put (typename storage_t::arg_type v) |
virtual std::ostream & | dumpValue (std::ostream &o) const OVERRIDE |
virtual void | operator>>= (T &value) const |
virtual void | operator<<= (typename storage_t::arg_type value) |
template<typename T1 > | |
T1 | getAs () const |
template<typename T1 > | |
void | putFrom (typename detail::ScalarStorageOps< T1 >::arg_type val) |
void | putFrom (const AnyScalar &v) |
virtual void | assign (const PVScalar &scalar) OVERRIDE FINAL |
virtual void | copy (const PVScalar &from) OVERRIDE FINAL |
virtual void | copyUnchecked (const PVScalar &from) OVERRIDE FINAL |
virtual void | serialize (ByteBuffer *pbuffer, SerializableControl *pflusher) const OVERRIDE |
virtual void | deserialize (ByteBuffer *pbuffer, DeserializableControl *pflusher) OVERRIDE FINAL |
virtual void | getAs (AnyScalar &v) const OVERRIDE FINAL |
virtual void | putFrom (const void *src, ScalarType stype) OVERRIDE FINAL |
Convert and assign. More... | |
template<> | |
const ScalarType | typeCode |
template<> | |
void | serialize (ByteBuffer *pbuffer, SerializableControl *pflusher) const |
template<> | |
void | deserialize (ByteBuffer *pbuffer, DeserializableControl *pflusher) |
template<> | |
std::ostream & | dumpValue (std::ostream &o) const |
Some explicit specializations exist. More... | |
template<> | |
std::ostream & | dumpValue (std::ostream &o) const |
template<> | |
std::ostream & | dumpValue (std::ostream &o) const |
![]() | |
POINTER_DEFINITIONS (PVScalar) | |
virtual | ~PVScalar () |
const ScalarConstPtr | getScalar () const |
template<typename T > | |
T | getAs () const |
template<typename T > | |
void | putFrom (T val) |
void | putFrom (const AnyScalar &v) |
![]() | |
POINTER_DEFINITIONS (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 |
virtual void | setImmutable () |
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) |
![]() | |
virtual | ~Serializable () |
Static Public Attributes | |
static const ScalarType | typeCode = pvBoolean |
![]() | |
static size_t | num_instances |
Protected Member Functions | |
PVScalarValue (ScalarConstPtr const &scalar) | |
virtual void | getAs (void *result, ScalarType rtype) const OVERRIDE FINAL |
![]() | |
PVScalar (ScalarConstPtr const &scalar) | |
![]() | |
PVField::shared_pointer | getPtrSelf () |
PVField (FieldConstPtr field) | |
void | setParentAndName (PVStructure *parent, std::string const &fieldName) |
Protected Attributes | |
storage_t | storage |
Friends | |
class | PVDataCreate |
Class that holds the data for each possible scalar type.
typedef const T* epics::pvData::PVScalarValue< T >::const_pointer |
typedef T* epics::pvData::PVScalarValue< T >::pointer |
typedef T epics::pvData::PVScalarValue< T >::value_type |
|
virtual |
|
inlineexplicitprotected |
Definition at line 444 of file pvData.h.
|
virtual |
Implements epics::pvData::PVScalar.
Definition at line 83 of file PVDataCreateFactory.cpp.
|
virtual |
Implements epics::pvData::PVScalar.
Definition at line 91 of file PVDataCreateFactory.cpp.
|
virtual |
Implements epics::pvData::PVScalar.
Definition at line 97 of file PVDataCreateFactory.cpp.
|
virtual |
Deserialize buffer.
buffer | serialization buffer. |
flusher | deserialization control. |
Implements epics::pvData::Serializable.
Definition at line 128 of file PVDataCreateFactory.cpp.
|
virtual |
Deserialize buffer.
buffer | serialization buffer. |
flusher | deserialization control. |
Implements epics::pvData::Serializable.
Definition at line 120 of file PVDataCreateFactory.cpp.
|
virtual |
Puts the PVField raw value to the stream.
o | output stream. |
Implements epics::pvData::PVField.
Reimplemented in epics::pvData::PVString.
Definition at line 65 of file PVDataCreateFactory.cpp.
|
inlinevirtual |
Some explicit specializations exist.
Implements epics::pvData::PVField.
|
inlinevirtual |
Puts the PVField raw value to the stream.
o | output stream. |
Implements epics::pvData::PVField.
|
inlinevirtual |
Puts the PVField raw value to the stream.
o | output stream. |
Implements epics::pvData::PVField.
|
inline |
|
inline |
|
inlineprotectedvirtual |
Implements epics::pvData::PVScalar.
Definition at line 446 of file pvData.h.
|
inlinevirtual |
Implements epics::pvData::PVScalar.
|
virtual |
Definition at line 77 of file PVDataCreateFactory.cpp.
|
virtual |
Definition at line 71 of file PVDataCreateFactory.cpp.
epics::pvData::PVScalarValue< T >::POINTER_DEFINITIONS | ( | PVScalarValue< T > | ) |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Convert and assign.
Implements epics::pvData::PVScalar.
Definition at line 456 of file pvData.h.
|
virtual |
Serialize field into given buffer.
buffer | serialization buffer. |
flusher | flush interface. |
Implements epics::pvData::Serializable.
Definition at line 114 of file PVDataCreateFactory.cpp.
|
virtual |
Serialize field into given buffer.
buffer | serialization buffer. |
flusher | flush interface. |
Implements epics::pvData::Serializable.
Reimplemented in epics::pvData::PVString.
Definition at line 107 of file PVDataCreateFactory.cpp.
const ScalarType epics::pvData::PVScalarValue< string >::typeCode | ( | ) |
Definition at line 45 of file PVDataCreateFactory.cpp.
|
friend |
|
protected |
|
static |