PVData C++ 8.0.9
Loading...
Searching...
No Matches
epics::pvData::PVString Class Reference

PVString is special case, since it implements SerializableArray. More...

#include <pv/pvData.h>

Inheritance diagram for epics::pvData::PVString:
Collaboration diagram for epics::pvData::PVString:

Public Member Functions

virtual ~PVString ()
virtual std::ostream & dumpValue (std::ostream &o) const
 Some explicit specializations exist.
virtual void serialize (ByteBuffer *pbuffer, SerializableControl *pflusher) const
virtual void serialize (ByteBuffer *pbuffer, SerializableControl *pflusher, size_t offset, size_t count) const
Public Member Functions inherited from epics::pvData::PVScalarValue< std::string >
virtual ~PVScalarValue ()
storage_t::arg_type get () const
void put (typename storage_t::arg_type v)
virtual void operator>>= (std::string &value) const
virtual void operator<<= (typename storage_t::arg_type value)
T1 getAs () const
void putFrom (typename detail::ScalarStorageOps< T1 >::arg_type val)
virtual void assign (const PVScalar &scalar)
virtual void copy (const PVScalar &from)
virtual void copyUnchecked (const PVScalar &from)
virtual void deserialize (ByteBuffer *pbuffer, DeserializableControl *pflusher)
Public Member Functions inherited from epics::pvData::PVScalar
virtual ~PVScalar ()
const ScalarConstPtr getScalar () const
template<typename T>
T getAs () const
virtual void getAs (AnyScalar &v) const =0
template<typename T>
void putFrom (T val)
virtual void putFrom (const void *, ScalarType)=0
 Convert and assign.
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 ()

Protected Member Functions

 PVString (ScalarConstPtr const &scalar)
Protected Member Functions inherited from epics::pvData::PVScalarValue< std::string >
 PVScalarValue (ScalarConstPtr const &scalar)
Protected Member Functions inherited from epics::pvData::PVScalar
virtual void getAs (void *, ScalarType) const =0
 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)

Friends

class PVDataCreate

Additional Inherited Members

Public Types inherited from epics::pvData::PVScalarValue< std::string >
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 std::string value_type
typedef std::string * pointer
typedef const std::string * 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
Static Public Attributes inherited from epics::pvData::PVScalarValue< std::string >
static const ScalarType typeCode
Static Public Attributes inherited from epics::pvData::PVField
static size_t num_instances
Protected Attributes inherited from epics::pvData::PVScalarValue< std::string >
storage_t storage

Detailed Description

PVString is special case, since it implements SerializableArray.

Definition at line 521 of file pvData.h.

Constructor & Destructor Documentation

◆ ~PVString()

virtual epics::pvData::PVString::~PVString ( )
inlinevirtual

Destructor

Definition at line 526 of file pvData.h.

Member Function Documentation

◆ dumpValue()

virtual std::ostream & epics::pvData::PVString::dumpValue ( std::ostream & o) const
virtual

Some explicit specializations exist.

Reimplemented from epics::pvData::PVScalarValue< std::string >.

◆ serialize()

virtual void epics::pvData::PVString::serialize ( ByteBuffer * pbuffer,
SerializableControl * pflusher ) const
virtual

Serialize field into given buffer.

Parameters
bufferserialization buffer.
flusherflush interface.

Reimplemented from epics::pvData::PVScalarValue< std::string >.

◆ PVDataCreate

friend class PVDataCreate
friend

Definition at line 537 of file pvData.h.


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