OpendTect  7.0
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CmdDrive::IdentifierManager Class Reference

Classes

class  Identifier
 

Public Member Functions

 IdentifierManager ()
 
virtual ~IdentifierManager ()
 
bool doesExist (const char *name) const
 
bool getDouble (const char *name, double &) const
 
bool getInteger (const char *name, int &) const
 
const char * getValue (const char *name) const
 
bool isPredefined (const char *name) const
 
const char * lastLinkedIdentStr () const
 
 mOD_DisableCopy (IdentifierManager) void reInit()
 
void raiseScopeLevel (bool up=true)
 
void set (const char *name, const char *val="", bool islink=false)
 
void set (const char *name, double)
 
void set (const char *name, int)
 
int substitute (const char *src, BufferString &dest)
 
bool tryFilePathPlaceholders (BufferString &filepath)
 
void unset (const char *name, bool followlinks=true)
 

Protected Member Functions

bool findCurIdent (const char *name, bool followlinks=true, bool singlescope=false)
 
void setFilePathPlaceholder (const char *nm, const char *val)
 
void tryFilePathPlaceholder (const char *prefixsrc, const char *filepathsrc, BufferString &filepathdest)
 
bool updatePlaceholder (const char *name, const char *key, const char *value) const
 

Protected Attributes

Identifiercurident_
 
int curlevel_
 
ObjectSet< ObjectSet< Identifier > > identifiers_
 
SeparString lastlinkedidentstr_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ IdentifierManager()

CmdDrive::IdentifierManager::IdentifierManager ( )

◆ ~IdentifierManager()

virtual CmdDrive::IdentifierManager::~IdentifierManager ( )
virtual

Member Function Documentation

◆ doesExist()

bool CmdDrive::IdentifierManager::doesExist ( const char *  name) const

◆ findCurIdent()

bool CmdDrive::IdentifierManager::findCurIdent ( const char *  name,
bool  followlinks = true,
bool  singlescope = false 
)
protected

◆ getDouble()

bool CmdDrive::IdentifierManager::getDouble ( const char *  name,
double &   
) const

◆ getInteger()

bool CmdDrive::IdentifierManager::getInteger ( const char *  name,
int &   
) const

◆ getValue()

const char* CmdDrive::IdentifierManager::getValue ( const char *  name) const

◆ isPredefined()

bool CmdDrive::IdentifierManager::isPredefined ( const char *  name) const

◆ lastLinkedIdentStr()

const char* CmdDrive::IdentifierManager::lastLinkedIdentStr ( ) const

◆ mOD_DisableCopy()

CmdDrive::IdentifierManager::mOD_DisableCopy ( IdentifierManager  )

◆ raiseScopeLevel()

void CmdDrive::IdentifierManager::raiseScopeLevel ( bool  up = true)

◆ set() [1/3]

void CmdDrive::IdentifierManager::set ( const char *  name,
const char *  val = "",
bool  islink = false 
)

◆ set() [2/3]

void CmdDrive::IdentifierManager::set ( const char *  name,
double   
)

◆ set() [3/3]

void CmdDrive::IdentifierManager::set ( const char *  name,
int   
)

◆ setFilePathPlaceholder()

void CmdDrive::IdentifierManager::setFilePathPlaceholder ( const char *  nm,
const char *  val 
)
protected

◆ substitute()

int CmdDrive::IdentifierManager::substitute ( const char *  src,
BufferString dest 
)

◆ tryFilePathPlaceholder()

void CmdDrive::IdentifierManager::tryFilePathPlaceholder ( const char *  prefixsrc,
const char *  filepathsrc,
BufferString filepathdest 
)
protected

◆ tryFilePathPlaceholders()

bool CmdDrive::IdentifierManager::tryFilePathPlaceholders ( BufferString filepath)

◆ unset()

void CmdDrive::IdentifierManager::unset ( const char *  name,
bool  followlinks = true 
)

◆ updatePlaceholder()

bool CmdDrive::IdentifierManager::updatePlaceholder ( const char *  name,
const char *  key,
const char *  value 
) const
protected

Member Data Documentation

◆ curident_

Identifier* CmdDrive::IdentifierManager::curident_
protected

◆ curlevel_

int CmdDrive::IdentifierManager::curlevel_
protected

◆ identifiers_

ObjectSet< ObjectSet<Identifier> > CmdDrive::IdentifierManager::identifiers_
protected

◆ lastlinkedidentstr_

SeparString CmdDrive::IdentifierManager::lastlinkedidentstr_
protected

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