Itasca C++ Interface
Loading...
Searching...
No Matches
models::SharedPropertyBlock< T > Class Template Reference

This class allows zones to share model properties minimizing memery usage. Models currently using this class are: elastic, mohr, subi. More...

#include <sharedpropertyblock.h>

Public Member Functions

 SharedPropertyBlock ()
 Constructor.
virtual ~SharedPropertyBlock ()
 Destructor.
const T * claim (const T &t)
 Add property t to the property set and increase the property reference count (See SharedProperty).
void release (const T *t)
 Decreases property t reference count. If the properrty reference reaches zero, removes property from set.

Detailed Description

template<class T>
class models::SharedPropertyBlock< T >

This class allows zones to share model properties minimizing memery usage. Models currently using this class are: elastic, mohr, subi.


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