OpendTect  6.6
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
uiTextFile Class Reference
Inheritance diagram for uiTextFile:
[legend]

Public Types

typedef File::ViewPars Setup
 

Public Member Functions

 uiTextFile (uiParent *p, const char *fnm, const Setup &s=Setup())
 
const char * fileName () const
 
virtual bool isEditable () const
 
bool isModified () const
 
virtual bool isTable () const
 
int maxLines () const
 
int nrLines () const
 
bool open (const char *)
 
bool reLoad ()
 
bool save ()
 
bool saveAs (const char *)
 
uiTabletableEditor ()
 
const char * text () const
 
uiTextBrowsertextBrowser ()
 
uiTextEdittextEdit ()
 
void toLine (int)
 
uiObjectuiObj ()
 
- 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
 

Public Attributes

Notifier< uiTextFilefileNmChg
 

Protected Member Functions

void init (uiParent *)
 
void setFileName (const char *)
 
void valChg (CallBacker *)
 

Protected Attributes

BufferString filename_
 
bool ismodified_
 
Setup setup_
 
uiTabletbl_
 
uiTextBrowsertxtbr_
 
uiTextEdittxted_
 

Additional Inherited Members

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

Detailed Description

<>

Member Typedef Documentation

◆ Setup

Constructor & Destructor Documentation

◆ uiTextFile()

uiTextFile::uiTextFile ( uiParent p,
const char *  fnm,
const Setup s = Setup() 
)
inline

Member Function Documentation

◆ fileName()

const char* uiTextFile::fileName ( ) const
inline

◆ init()

void uiTextFile::init ( uiParent )
protected

◆ isEditable()

virtual bool uiTextFile::isEditable ( ) const
inlinevirtual

◆ isModified()

bool uiTextFile::isModified ( ) const
inline

◆ isTable()

virtual bool uiTextFile::isTable ( ) const
inlinevirtual

◆ maxLines()

int uiTextFile::maxLines ( ) const
inline

◆ nrLines()

int uiTextFile::nrLines ( ) const

◆ open()

bool uiTextFile::open ( const char *  )

◆ reLoad()

bool uiTextFile::reLoad ( )

◆ save()

bool uiTextFile::save ( )

◆ saveAs()

bool uiTextFile::saveAs ( const char *  )

◆ setFileName()

void uiTextFile::setFileName ( const char *  )
protected

◆ tableEditor()

uiTable* uiTextFile::tableEditor ( )
inline

◆ text()

const char* uiTextFile::text ( ) const

◆ textBrowser()

uiTextBrowser* uiTextFile::textBrowser ( )
inline

◆ textEdit()

uiTextEdit* uiTextFile::textEdit ( )
inline

◆ toLine()

void uiTextFile::toLine ( int  )

◆ uiObj()

uiObject* uiTextFile::uiObj ( )

◆ valChg()

void uiTextFile::valChg ( CallBacker )
protected

Member Data Documentation

◆ filename_

BufferString uiTextFile::filename_
protected

◆ fileNmChg

Notifier<uiTextFile> uiTextFile::fileNmChg

◆ ismodified_

bool uiTextFile::ismodified_
mutableprotected

◆ setup_

Setup uiTextFile::setup_
protected

◆ tbl_

uiTable* uiTextFile::tbl_
protected

◆ txtbr_

uiTextBrowser* uiTextFile::txtbr_
protected

◆ txted_

uiTextEdit* uiTextFile::txted_
protected

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