OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EM::SetPosAttribUndoEvent Class Reference

UndoEvent for setting position attribute. More...

Inheritance diagram for EM::SetPosAttribUndoEvent:
[legend]

Public Member Functions

 SetPosAttribUndoEvent (const PosID &, int attrib, bool yn)
 
ObjectID getObjectID () const override
 
const char * getStandardDesc () const override
 
bool reDo () override
 
bool unDo () override
 
- Public Member Functions inherited from EM::EMUndoEvent
 ~EMUndoEvent ()
 
- Public Member Functions inherited from UndoEvent
virtual ~UndoEvent ()
 
BufferString getDesc () const
 
bool isUserInteractionEnd () const
 
void setDesc (const char *)
 
void setUserInteractionEnd (bool=true)
 

Protected Member Functions

 ~SetPosAttribUndoEvent ()
 
- Protected Member Functions inherited from EM::EMUndoEvent
 EMUndoEvent ()
 
- Protected Member Functions inherited from UndoEvent
 UndoEvent ()
 

Protected Attributes

int attrib_
 
PosID posid_
 
bool yn_
 
- Protected Attributes inherited from UndoEvent
BufferStringdesc_
 
bool isuserinteractionend_
 

Detailed Description

UndoEvent for setting position attribute.

<>

Constructor & Destructor Documentation

◆ SetPosAttribUndoEvent()

EM::SetPosAttribUndoEvent::SetPosAttribUndoEvent ( const PosID ,
int  attrib,
bool  yn 
)

◆ ~SetPosAttribUndoEvent()

EM::SetPosAttribUndoEvent::~SetPosAttribUndoEvent ( )
protected

Member Function Documentation

◆ getObjectID()

ObjectID EM::SetPosAttribUndoEvent::getObjectID ( ) const
inlineoverridevirtual

Implements EM::EMUndoEvent.

◆ getStandardDesc()

const char* EM::SetPosAttribUndoEvent::getStandardDesc ( ) const
overridevirtual

Implements UndoEvent.

◆ reDo()

bool EM::SetPosAttribUndoEvent::reDo ( )
overridevirtual

Implements UndoEvent.

◆ unDo()

bool EM::SetPosAttribUndoEvent::unDo ( )
overridevirtual

Implements UndoEvent.

Member Data Documentation

◆ attrib_

int EM::SetPosAttribUndoEvent::attrib_
protected

◆ posid_

PosID EM::SetPosAttribUndoEvent::posid_
protected

◆ yn_

bool EM::SetPosAttribUndoEvent::yn_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024