OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
uiGenInputInputFld Class Referenceabstract

Generalised data input field. More...

Inheritance diagram for uiGenInputInputFld:
[legend]

Public Member Functions

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

Protected Member Functions

virtual bool update_ (const DataInpSpec &)
 
void init ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

DataInpSpecspec_
 
uiGenInputp_
 

Detailed Description

Generalised 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 ( uiGenInput ,
const DataInpSpec  
)
virtual uiGenInputInputFld::~uiGenInputInputFld ( )
virtual

Member Function Documentation

void uiGenInputInputFld::display ( bool  ,
int  elemidx 
)
virtual UserInputObj* uiGenInputInputFld::element ( int  idx = 0)
pure virtual
const UserInputObj* uiGenInputInputFld::element ( int  idx = 0) const
virtual uiObject* uiGenInputInputFld::elemObj ( int  idx = 0)
virtual
const uiObject* uiGenInputInputFld::elemObj ( int  idx = 0) const
bool uiGenInputInputFld::getBoolValue ( int  ) const
double uiGenInputInputFld::getDValue ( int  ) const
float uiGenInputInputFld::getFValue ( int  ) const
int uiGenInputInputFld::getIntValue ( int  ) const
void uiGenInputInputFld::init ( )
protected
bool uiGenInputInputFld::isReadOnly ( int  idx = 0) const
virtual bool uiGenInputInputFld::isUndef ( int  ) const
virtual
virtual uiObject* uiGenInputInputFld::mainObj ( )
pure virtual
virtual int uiGenInputInputFld::nElems ( ) const
inlinevirtual
void uiGenInputInputFld::setEmpty ( )
virtual void uiGenInputInputFld::setReadOnly ( bool  yn = true,
int  idx = -1 
)
virtual
void uiGenInputInputFld::setSensitive ( bool  yn,
int  elemidx = -1 
)
virtual void uiGenInputInputFld::setText ( const char *  ,
int   
)
virtual
template<class T >
void uiGenInputInputFld::setValue ( t,
int  idx 
)
inline
void uiGenInputInputFld::setValue ( bool  ,
int   
)
DataInpSpec& uiGenInputInputFld::spec ( )
inline
const DataInpSpec& uiGenInputInputFld::spec ( ) const
inline
const char* uiGenInputInputFld::text ( int  ) const
bool uiGenInputInputFld::update ( const DataInpSpec )
virtual bool uiGenInputInputFld::update_ ( const DataInpSpec )
protectedvirtual
void uiGenInputInputFld::updateReqNotify ( CallBacker )
virtual void uiGenInputInputFld::updateSpec ( )
virtual
void uiGenInputInputFld::valChangedNotify ( CallBacker )
void uiGenInputInputFld::valChangingNotify ( CallBacker )

Member Data Documentation

uiGenInput* uiGenInputInputFld::p_
protected
DataInpSpec& uiGenInputInputFld::spec_
protected

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