OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
uiGenInputInputFld Class Referenceabstract

Generalized data input field. More...

Inheritance diagram for uiGenInputInputFld:
[legend]

Public Member Functions

 uiGenInputInputFld (uiGenInput *, const DataInpSpec &)
 
virtual ~uiGenInputInputFld ()
 
void display (bool, int elemidx)
 
const UserInputObjelement (int idx=0) const
 
virtual UserInputObjelement (int idx=0)=0
 
virtual uiObjectelemObj (int idx=0)
 
const uiObjectelemObj (int idx=0) const
 
bool getBoolValue (int) const
 
double getDValue (int) const
 
float getFValue (int) const
 
od_int64 getInt64Value (int) const
 
int getIntValue (int) const
 
bool isReadOnly (int idx=0) const
 
virtual bool isUndef (int) const
 
virtual uiObjectmainObj ()=0
 
virtual int nElems () const
 
void setEmpty ()
 
virtual void setReadOnly (bool yn=true, int idx=-1)
 
void setSensitive (bool yn, int elemidx=-1)
 
virtual void setText (const char *, int)
 
void setValue (bool, int)
 
template<class T >
void setValue (T t, int idx)
 
DataInpSpecspec ()
 
const DataInpSpecspec () const
 
const char * text (int) const
 
bool update (const DataInpSpec &)
 
void updateReqNotify (CallBacker *)
 
virtual void updateSpec ()
 
void valChangedNotify (CallBacker *)
 
void valChangingNotify (CallBacker *)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

Protected Member Functions

void init ()
 
virtual bool update_ (const DataInpSpec &)
 

Protected Attributes

uiGenInputp_
 
DataInpSpecspec_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

Generalized data input field.

Provides a generalized interface towards data inputs from the user interface.

Of course it doesn't make much sense to use f.e. setBoolValue on an element that is supposed to input double precision float's, but that's up to the programmer to decide.

Constructor & Destructor Documentation

◆ uiGenInputInputFld()

uiGenInputInputFld::uiGenInputInputFld ( uiGenInput ,
const DataInpSpec  
)

◆ ~uiGenInputInputFld()

virtual uiGenInputInputFld::~uiGenInputInputFld ( )
virtual

Member Function Documentation

◆ display()

void uiGenInputInputFld::display ( bool  ,
int  elemidx 
)

◆ element() [1/2]

const UserInputObj* uiGenInputInputFld::element ( int  idx = 0) const

◆ element() [2/2]

virtual UserInputObj* uiGenInputInputFld::element ( int  idx = 0)
pure virtual

◆ elemObj() [1/2]

virtual uiObject* uiGenInputInputFld::elemObj ( int  idx = 0)
virtual

◆ elemObj() [2/2]

const uiObject* uiGenInputInputFld::elemObj ( int  idx = 0) const

◆ getBoolValue()

bool uiGenInputInputFld::getBoolValue ( int  ) const

◆ getDValue()

double uiGenInputInputFld::getDValue ( int  ) const

◆ getFValue()

float uiGenInputInputFld::getFValue ( int  ) const

◆ getInt64Value()

od_int64 uiGenInputInputFld::getInt64Value ( int  ) const

◆ getIntValue()

int uiGenInputInputFld::getIntValue ( int  ) const

◆ init()

void uiGenInputInputFld::init ( )
protected

◆ isReadOnly()

bool uiGenInputInputFld::isReadOnly ( int  idx = 0) const

◆ isUndef()

virtual bool uiGenInputInputFld::isUndef ( int  ) const
virtual

◆ mainObj()

virtual uiObject* uiGenInputInputFld::mainObj ( )
pure virtual

◆ nElems()

virtual int uiGenInputInputFld::nElems ( ) const
inlinevirtual

◆ setEmpty()

void uiGenInputInputFld::setEmpty ( )

◆ setReadOnly()

virtual void uiGenInputInputFld::setReadOnly ( bool  yn = true,
int  idx = -1 
)
virtual

◆ setSensitive()

void uiGenInputInputFld::setSensitive ( bool  yn,
int  elemidx = -1 
)

◆ setText()

virtual void uiGenInputInputFld::setText ( const char *  ,
int   
)
virtual

◆ setValue() [1/2]

void uiGenInputInputFld::setValue ( bool  ,
int   
)

◆ setValue() [2/2]

template<class T >
void uiGenInputInputFld::setValue ( t,
int  idx 
)
inline

◆ spec() [1/2]

DataInpSpec& uiGenInputInputFld::spec ( )
inline

◆ spec() [2/2]

const DataInpSpec& uiGenInputInputFld::spec ( ) const
inline

◆ text()

const char* uiGenInputInputFld::text ( int  ) const

◆ update()

bool uiGenInputInputFld::update ( const DataInpSpec )

◆ update_()

virtual bool uiGenInputInputFld::update_ ( const DataInpSpec )
protectedvirtual

◆ updateReqNotify()

void uiGenInputInputFld::updateReqNotify ( CallBacker )

◆ updateSpec()

virtual void uiGenInputInputFld::updateSpec ( )
virtual

◆ valChangedNotify()

void uiGenInputInputFld::valChangedNotify ( CallBacker )

◆ valChangingNotify()

void uiGenInputInputFld::valChangingNotify ( CallBacker )

Member Data Documentation

◆ p_

uiGenInput* uiGenInputInputFld::p_
protected

◆ spec_

DataInpSpec& uiGenInputInputFld::spec_
protected

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