The SKIRT project
advanced radiative transfer for astrophysics
Public Member Functions | List of all members
TypedPropertyAccessor< V > Class Template Referenceabstract

#include <PropertyAccessor.hpp>

Inheritance diagram for TypedPropertyAccessor< V >:
Inheritance graph
[legend]

Public Member Functions

virtual void setTargetValue (Item *target, V value) const =0
 
virtual V targetValue (const Item *target) const =0
 
- Public Member Functions inherited from PropertyAccessor
 PropertyAccessor (const PropertyAccessor &)=delete
 
PropertyAccessoroperator= (const PropertyAccessor &)=delete
 

Detailed Description

template<typename V>
class TypedPropertyAccessor< V >

The TypedPropertyAccessor template class sits at level one of the PropertyAccessor class hierarchy. It defines the pure virtual interface for getting and setting a property of value type V, given as template parameter. The template is specialized for a value type representing a list of items, because this type requires a different set of setters to manage individual items in the list. Refer to the PropertyAccessor class for more information.


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