App::FeatureCustomT< FeatureT > Class Template Reference

FeatureCustomT is a template class to be used with DocumentObject or any of its subclasses as template parameter. More...

#include <FeatureCustom.h>

Public Member Functions

 FeatureCustomT ()
 
virtual ~FeatureCustomT ()
 

methods override DocumentObject

short mustExecute () const
 
virtual DocumentObjectExecReturnexecute (void)
 recalculate the Feature More...
 
virtual const char * getViewProviderName (void) const
 returns the type name of the ViewProvider More...
 
PyObjectgetPyObject (void)
 
void setPyObject (PyObject *obj)
 
virtual void onBeforeChange (const Property *prop)
 
virtual void onChanged (const Property *prop)
 
virtual void onDocumentRestored ()
 
virtual void onSettingDocument ()
 
 FeatureCustomT (const FeatureCustomT &)=delete
 
 FeatureCustomT (FeatureCustomT &&)=delete
 
FeatureCustomToperator= (const FeatureCustomT &)=delete
 
FeatureCustomToperator= (FeatureCustomT &&)=delete
 

Detailed Description

template<class FeatureT>
class App::FeatureCustomT< FeatureT >

FeatureCustomT is a template class to be used with DocumentObject or any of its subclasses as template parameter.

FeatureCustomT offers a way to add or remove a property at runtime. This class is similar to FeaturePythonT with the difference that it has no support for in Python written feature classes.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ FeatureCustomT() [1/3]

template<class FeatureT >
App::FeatureCustomT< FeatureT >::FeatureCustomT ( )

◆ ~FeatureCustomT()

template<class FeatureT >
virtual App::FeatureCustomT< FeatureT >::~FeatureCustomT ( )
virtual

◆ FeatureCustomT() [2/3]

template<class FeatureT >
App::FeatureCustomT< FeatureT >::FeatureCustomT ( const FeatureCustomT< FeatureT > &  )
protecteddelete

◆ FeatureCustomT() [3/3]

template<class FeatureT >
App::FeatureCustomT< FeatureT >::FeatureCustomT ( FeatureCustomT< FeatureT > &&  )
protecteddelete

Member Function Documentation

◆ execute()

◆ getPyObject()

template<class FeatureT >
PyObject * App::FeatureCustomT< FeatureT >::getPyObject ( void  )

◆ getViewProviderName()

template<class FeatureT >
virtual const char * App::FeatureCustomT< FeatureT >::getViewProviderName ( void  ) const
virtual

returns the type name of the ViewProvider

◆ mustExecute()

template<class FeatureT >
short App::FeatureCustomT< FeatureT >::mustExecute ( void  ) const

◆ onBeforeChange()

template<class FeatureT >
virtual void App::FeatureCustomT< FeatureT >::onBeforeChange ( const Property prop)
protectedvirtual

◆ onChanged()

◆ onDocumentRestored()

template<class FeatureT >
virtual void App::FeatureCustomT< FeatureT >::onDocumentRestored ( )
protectedvirtual

◆ onSettingDocument()

template<class FeatureT >
virtual void App::FeatureCustomT< FeatureT >::onSettingDocument ( void  )
protectedvirtual

◆ operator=() [1/2]

template<class FeatureT >
FeatureCustomT & App::FeatureCustomT< FeatureT >::operator= ( const FeatureCustomT< FeatureT > &  )
protecteddelete

◆ operator=() [2/2]

template<class FeatureT >
FeatureCustomT & App::FeatureCustomT< FeatureT >::operator= ( FeatureCustomT< FeatureT > &&  )
protecteddelete

◆ setPyObject()

template<class FeatureT >
void App::FeatureCustomT< FeatureT >::setPyObject ( PyObject obj)

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