mrfioc2  2.3.0
Public Member Functions | List of all members
mrf::propertyBase Struct Referenceabstract

An un-typed property. More...

#include <object.h>

Inheritance diagram for mrf::propertyBase:
Inheritance graph
[legend]

Public Member Functions

virtual ~propertyBase ()=0
 
virtual const char * name () const =0
 
virtual const std::type_info & type () const =0
 
virtual void show (std::ostream &) const
 Print the value of the field w/o leading or trailing whitespace. More...
 

Detailed Description

An un-typed property.

Required to implement Object::getProperty<P>(). There is no way other then to up-cast in ObjectInst<C> and then down-cast in getProperty<P>().

Definition at line 120 of file object.h.

Constructor & Destructor Documentation

◆ ~propertyBase()

epicsShareFunc propertyBase::~propertyBase ( )
pure virtual

Definition at line 52 of file object.cpp.

52 {}

Member Function Documentation

◆ name()

virtual const char* mrf::propertyBase::name ( ) const
pure virtual

◆ show()

epicsShareFunc void propertyBase::show ( std::ostream &  strm) const
virtual

Print the value of the field w/o leading or trailing whitespace.

Reimplemented in mrf::detail::propertyInstance< C, P >.

Definition at line 56 of file object.cpp.

57 {
58  strm<<"<?>";
59 }

◆ type()

virtual const std::type_info& mrf::propertyBase::type ( ) const
pure virtual

The documentation for this struct was generated from the following files: