mrfioc2  2.3.0
Public Member Functions | List of all members
mrf::property< P > Struct Template Referenceabstract

A bound, typed scalar property. More...

#include <object.h>

Inheritance diagram for mrf::property< P >:
Inheritance graph
[legend]
Collaboration diagram for mrf::property< P >:
Collaboration graph
[legend]

Public Member Functions

virtual ~property ()
 
virtual void set (P)=0
 The setter for this property. More...
 
virtual P get () const =0
 
- Public Member Functions inherited from mrf::propertyBase
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

template<typename P>
struct mrf::property< P >

A bound, typed scalar property.

Definition at line 140 of file object.h.

Constructor & Destructor Documentation

◆ ~property()

template<typename P>
virtual mrf::property< P >::~property ( )
inlinevirtual

Definition at line 142 of file object.h.

142 {}

Member Function Documentation

◆ get()

template<typename P>
virtual P mrf::property< P >::get ( ) const
pure virtual

◆ set()

template<typename P>
virtual void mrf::property< P >::set ( )
pure virtual

The setter for this property.

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


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