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

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

#include <pv/pvData.h>

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

Public Member Functions

virtual ~PVString ()
 
virtual std::ostreamdumpValue (std::ostream &o) const
 
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
 
virtual void getAs (AnyScalar &v) const
 
void putFrom (typename detail::ScalarStorageOps< T1 >::arg_type val)
 
void putFrom (const AnyScalar &v)
 
virtual void putFrom (const void *src, ScalarType stype)
 Convert and assign.
 
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 >
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::stringgetFieldName () 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 FieldConstPtrgetField () const
 
PVStructuregetParent ()
 
const PVStructuregetParent () 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 >
virtual void getAs (void *result, ScalarType rtype) const
 
 PVScalarValue (ScalarConstPtr const &scalar)
 
- 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)
 

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::stringpointer
 
typedef const std::stringconst_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 PVScalarreference
 
typedef const PVScalarconst_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

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

Destructor

Definition at line 526 of file pvData.h.

Member Function Documentation

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

Puts the PVField raw value to the stream.

Parameters
ooutput stream.
Returns
The output stream.

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

virtual void epics::pvData::PVString::serialize ( ByteBuffer buffer,
SerializableControl flusher 
) const
virtual

Serialize field into given buffer.

Parameters
bufferserialization buffer.
flusherflush interface.

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


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