OTB  6.7.0
Orfeo Toolbox
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
mvd::AbstractModel Class Reference

#include <mvdAbstractModel.h>

+ Inheritance diagram for mvd::AbstractModel:
+ Collaboration diagram for mvd::AbstractModel:

Public Member Functions

void attachChildModel (AbstractModel *model, void *context=NULL)
 
void BuildModel (void *context=NULL)
 
virtual void ClearModified ()
 
template<typename TModel >
const TModel * GetParentModel () const
 
template<typename TModel >
TModel * GetParentModel ()
 
virtual bool IsModified () const
 
template<typename TModel >
TModel * newChildModel (void *context=NULL)
 
template<typename T >
T * newChildModel (void *context)
 
void Save ()
 
 ~AbstractModel () override
 

Protected Member Functions

 AbstractModel (QObject *p=NULL)
 
virtual void virtual_BuildModel (void *context=NULL)
 

Private Member Functions

virtual void virtual_Save ()
 

Detailed Description

Definition at line 75 of file mvdAbstractModel.h.

Constructor & Destructor Documentation

mvd::AbstractModel::~AbstractModel ( )
override

Destructor

mvd::AbstractModel::AbstractModel ( QObject *  p = NULL)
protected

Constructor

Member Function Documentation

void mvd::AbstractModel::attachChildModel ( AbstractModel model,
void *  context = NULL 
)
inline

Definition at line 222 of file mvdAbstractModel.h.

References BuildModel().

void mvd::AbstractModel::BuildModel ( void *  context = NULL)
inline

Definition at line 234 of file mvdAbstractModel.h.

Referenced by attachChildModel().

virtual void mvd::AbstractModel::ClearModified ( )
virtual
template<typename TModel >
const TModel * mvd::AbstractModel::GetParentModel ( ) const
inline

Definition at line 177 of file mvdAbstractModel.h.

template<typename TModel >
TModel * mvd::AbstractModel::GetParentModel ( )
inline

Definition at line 186 of file mvdAbstractModel.h.

virtual bool mvd::AbstractModel::IsModified ( ) const
virtual
template<typename TModel >
TModel* mvd::AbstractModel::newChildModel ( void *  context = NULL)
template<typename T >
T* mvd::AbstractModel::newChildModel ( void *  context)

Definition at line 199 of file mvdAbstractModel.h.

void mvd::AbstractModel::Save ( )
inline

Definition at line 243 of file mvdAbstractModel.h.

virtual void mvd::AbstractModel::virtual_BuildModel ( void *  context = NULL)
protectedvirtual

Reimplemented in mvd::OTBApplicationsModel.

virtual void mvd::AbstractModel::virtual_Save ( )
privatevirtual

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