OpendTect  7.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
IOObjSelConstraints Class Reference

Holds constraints on IOObj selection. More...

Public Member Functions

 IOObjSelConstraints ()
 
 IOObjSelConstraints (const IOObjSelConstraints &)
 
 ~IOObjSelConstraints ()
 
void clear ()
 
bool isGood (const IOObj &, bool forread=true) const
 
IOObjSelConstraintsoperator= (const IOObjSelConstraints &)
 
void require (const char *key, const char *typ, bool allowempty=false)
 
const ZDomain::InforequiredZDomain () const
 nullptr if not restricted More...
 
void requireType (const char *, bool allowempty=false)
 
void requireZDomain (const ZDomain::Info &, bool allowempty=true)
 

Static Public Member Functions

static bool isAllowedTranslator (const char *tnm, const char *allowd)
 

Public Attributes

bool allownonuserselectable_
 allow 'alien' like SEG-Y More...
 
BufferString allowtransls_
 FileMultiString of glob expressions. More...
 
IOPardontallow_
 
IOParrequire_
 

Detailed Description

Holds constraints on IOObj selection.

<>

Constructor & Destructor Documentation

◆ IOObjSelConstraints() [1/2]

IOObjSelConstraints::IOObjSelConstraints ( )

◆ IOObjSelConstraints() [2/2]

IOObjSelConstraints::IOObjSelConstraints ( const IOObjSelConstraints )

◆ ~IOObjSelConstraints()

IOObjSelConstraints::~IOObjSelConstraints ( )

Member Function Documentation

◆ clear()

void IOObjSelConstraints::clear ( )

◆ isAllowedTranslator()

static bool IOObjSelConstraints::isAllowedTranslator ( const char *  tnm,
const char *  allowd 
)
static

◆ isGood()

bool IOObjSelConstraints::isGood ( const IOObj ,
bool  forread = true 
) const

◆ operator=()

IOObjSelConstraints& IOObjSelConstraints::operator= ( const IOObjSelConstraints )

◆ require()

void IOObjSelConstraints::require ( const char *  key,
const char *  typ,
bool  allowempty = false 
)

◆ requiredZDomain()

const ZDomain::Info* IOObjSelConstraints::requiredZDomain ( ) const

nullptr if not restricted

◆ requireType()

void IOObjSelConstraints::requireType ( const char *  ,
bool  allowempty = false 
)

◆ requireZDomain()

void IOObjSelConstraints::requireZDomain ( const ZDomain::Info ,
bool  allowempty = true 
)

Member Data Documentation

◆ allownonuserselectable_

bool IOObjSelConstraints::allownonuserselectable_

allow 'alien' like SEG-Y

◆ allowtransls_

BufferString IOObjSelConstraints::allowtransls_

FileMultiString of glob expressions.

◆ dontallow_

IOPar& IOObjSelConstraints::dontallow_

◆ require_

IOPar& IOObjSelConstraints::require_

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