OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Attrib::ProviderFactory Class Reference

Factory for attribute providers. More...

Public Member Functions

 ProviderFactory ()
 
 ~ProviderFactory ()
 
void addDesc (Desc *, ProviderCreater)
 
Providercreate (Desc &) const
 
DesccreateDescCopy (const char *nm) const
 
const DescgetDesc (const char *) const
 
const DescgetDesc (int idx) const
 
void remove (const char *attrnm)
 
int size () const
 
void updateAllDescsDefaults ()
 

Protected Member Functions

int indexOf (const char *) const
 

Protected Attributes

TypeSet< ProviderCreatercreaters_
 
ObjectSet< Descdescs_
 

Detailed Description

Factory for attribute providers.

<>

Constructor & Destructor Documentation

◆ ProviderFactory()

Attrib::ProviderFactory::ProviderFactory ( )

◆ ~ProviderFactory()

Attrib::ProviderFactory::~ProviderFactory ( )

Member Function Documentation

◆ addDesc()

void Attrib::ProviderFactory::addDesc ( Desc ,
ProviderCreater   
)

◆ create()

Provider* Attrib::ProviderFactory::create ( Desc ) const

◆ createDescCopy()

Desc* Attrib::ProviderFactory::createDescCopy ( const char *  nm) const

◆ getDesc() [1/2]

const Desc* Attrib::ProviderFactory::getDesc ( const char *  ) const

◆ getDesc() [2/2]

const Desc& Attrib::ProviderFactory::getDesc ( int  idx) const
inline

◆ indexOf()

int Attrib::ProviderFactory::indexOf ( const char *  ) const
protected

◆ remove()

void Attrib::ProviderFactory::remove ( const char *  attrnm)

◆ size()

int Attrib::ProviderFactory::size ( ) const
inline

◆ updateAllDescsDefaults()

void Attrib::ProviderFactory::updateAllDescsDefaults ( )

Member Data Documentation

◆ creaters_

TypeSet<ProviderCreater> Attrib::ProviderFactory::creaters_
protected

◆ descs_

ObjectSet<Desc> Attrib::ProviderFactory::descs_
protected

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