|
PVData C++
8.0.2
|
Class that holds the data for each possible scalar type. More...
#include <pv/pvData.h>


Public Types | |
| typedef std::tr1::shared_ptr< PVScalarValue > | shared_pointer |
| typedef std::tr1::shared_ptr< const PVScalarValue > | const_shared_pointer |
| typedef std::tr1::weak_ptr< PVScalarValue > | weak_pointer |
| typedef std::tr1::weak_ptr< const PVScalarValue > | const_weak_pointer |
| typedef T | value_type |
| typedef T * | pointer |
| typedef const T * | const_pointer |
Public Types inherited from epics::pvData::PVScalar | |
| typedef std::tr1::shared_ptr< PVScalar > | shared_pointer |
| typedef std::tr1::shared_ptr< const PVScalar > | const_shared_pointer |
| typedef std::tr1::weak_ptr< PVScalar > | weak_pointer |
| typedef std::tr1::weak_ptr< const PVScalar > | const_weak_pointer |
| typedef PVScalar & | reference |
| typedef const PVScalar & | const_reference |
Public Types inherited from epics::pvData::PVField | |
| enum | { isPVField =1 } |
| typedef std::tr1::shared_ptr< PVField > | shared_pointer |
| typedef std::tr1::shared_ptr< const PVField > | const_shared_pointer |
| typedef std::tr1::weak_ptr< PVField > | weak_pointer |
| typedef std::tr1::weak_ptr< const PVField > | const_weak_pointer |
Public Member Functions | |
| virtual | ~PVScalarValue () |
| storage_t::arg_type | get () const |
| void | put (typename storage_t::arg_type v) |
| virtual std::ostream & | dumpValue (std::ostream &o) const |
| 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) |
| virtual void | copy (const PVScalar &from) |
| virtual void | copyUnchecked (const PVScalar &from) |
| virtual void | serialize (ByteBuffer *pbuffer, SerializableControl *pflusher) const |
| virtual void | deserialize (ByteBuffer *pbuffer, DeserializableControl *pflusher) |
| virtual void | getAs (AnyScalar &v) const |
| virtual void | putFrom (const void *src, ScalarType stype) |
| Convert and assign. | |
| template<> | |
| std::ostream & | dumpValue (std::ostream &o) const |
| Some explicit specializations exist. | |
| template<> | |
| std::ostream & | dumpValue (std::ostream &o) const |
| template<> | |
| std::ostream & | dumpValue (std::ostream &o) const |
Public Member Functions inherited from epics::pvData::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) |
Public Member Functions inherited from epics::pvData::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) |
Public Member Functions inherited from epics::pvData::Serializable | |
| virtual | ~Serializable () |
Static Public Attributes | |
| static const ScalarType | typeCode |
Static Public Attributes inherited from epics::pvData::PVField | |
| static size_t | num_instances |
Protected Member Functions | |
| PVScalarValue (ScalarConstPtr const &scalar) | |
| virtual void | getAs (void *result, ScalarType rtype) const |
Protected Member Functions inherited from epics::pvData::PVScalar | |
| PVScalar (ScalarConstPtr const &scalar) | |
Protected Member Functions inherited from epics::pvData::PVField | |
| 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.
|
virtual |
Destructor
|
virtual |
Deserialize buffer.
| buffer | serialization buffer. |
| flusher | deserialization control. |
Implements epics::pvData::Serializable.
|
virtual |
Puts the PVField raw value to the stream.
| o | output stream. |
Implements epics::pvData::PVField.
Reimplemented in epics::pvData::PVString.
|
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 |
|
virtual |
Serialize field into given buffer.
| buffer | serialization buffer. |
| flusher | flush interface. |
Implements epics::pvData::Serializable.
Reimplemented in epics::pvData::PVString.
1.8.13