Public Member Functions | List of all members
imod::IModelSelection Class Referenceabstract

Interface for model selection. More...

#include <IModelSelection.h>

Inheritance diagram for imod::IModelSelection:
istd::IChangeable istd::IPolymorphic idoc::CDocumentManagerListenerComp

Public Member Functions

virtual imod::IModelGetSelectedModel () const =0
 Get selected model. More...
 
virtual void SetSelectedModel (imod::IModel *modelPtr)=0
 Set selected model. More...
 
- Public Member Functions inherited from istd::IChangeable
virtual void BeginChanges (int changeFlags, istd::IPolymorphic *changeParamsPtr=NULL)
 Starts the change transaction. More...
 
virtual void EndChanges (int changeFlags, istd::IPolymorphic *changeParamsPtr=NULL)
 Ends the change transaction. More...
 
virtual int GetSupportedOperations () const
 Get set of flags for supported operations. More...
 
virtual bool CopyFrom (const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
 Copy this object from another one. More...
 
virtual bool IsEqual (const IChangeable &object) const
 Compare this object with another object. More...
 
virtual IChangeableCloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const
 Make a copy of this object. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Additional Inherited Members

- Public Types inherited from istd::IChangeable
enum  ChangeFlags {
  CF_ACF_INTERNAL = 1 << 0, CF_MODEL = 1 << 1, CF_ABORTED = 1 << 2, CF_DELEGATED = 1 << 3,
  CF_NO_UNDO = 1 << 5
}
 
enum  SupportedOperations {
  SO_NONE = 0, SO_OBSERVE = 1, SO_COPY = 2, SO_CLONE = 4,
  SO_COMPARE = 8
}
 Flags for supported operations. More...
 
enum  CompatibilityMode { CM_STRICT, CM_WITHOUT_REFS, CM_WITH_REFS, CM_CONVERT }
 Control how relationship betweeen objects are interpreted. More...
 
- Protected Member Functions inherited from istd::IChangeable
virtual void OnBeginChanges (int changeFlags, istd::IPolymorphic *changeParamsPtr)
 Callback function for begin change event. More...
 
virtual void OnEndChanges (int changeFlags, istd::IPolymorphic *changeParamsPtr)
 Callback function for end change event. More...
 

Detailed Description

Interface for model selection.

Deprecated:

Definition at line 20 of file IModelSelection.h.

Member Function Documentation

virtual imod::IModel* imod::IModelSelection::GetSelectedModel ( ) const
pure virtual

Get selected model.

Implemented in idoc::CDocumentManagerListenerComp.

virtual void imod::IModelSelection::SetSelectedModel ( imod::IModel modelPtr)
pure virtual

Set selected model.

Implemented in idoc::CDocumentManagerListenerComp.


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

© 2007-2011 Witold Gantzke and Kirill Lepskiy