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

Public Member Functions

 ExprInterpreter (const CmdDriver &)
 
const char * breakPrefix () const
 
const char * errMsg () const
 
bool isParseError () const
 
bool isResultTrivial () const
 
const char * parsedExpr () const
 
const char * process (const char *exprstr, BufferString &val, bool isargument=false)
 

Protected Member Functions

const char * interpretCompositeExpr (const char *parstr, BufferString &val)
 
const char * interpretSingleExpr (const char *parstr, BufferString &val)
 
void setBreakPrefix (const char *endptr, BufferString &breakprefix) const
 

Protected Attributes

BufferString breakprefix_
 
const CmdDriverdrv_
 
BufferString errmsg_
 
const char * exprstr_
 
BufferString parsedexpr_
 
bool trivialresult_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ ExprInterpreter()

CmdDrive::ExprInterpreter::ExprInterpreter ( const CmdDriver )

Member Function Documentation

◆ breakPrefix()

const char* CmdDrive::ExprInterpreter::breakPrefix ( ) const
inline

◆ errMsg()

const char* CmdDrive::ExprInterpreter::errMsg ( ) const

◆ interpretCompositeExpr()

const char* CmdDrive::ExprInterpreter::interpretCompositeExpr ( const char *  parstr,
BufferString val 
)
protected

◆ interpretSingleExpr()

const char* CmdDrive::ExprInterpreter::interpretSingleExpr ( const char *  parstr,
BufferString val 
)
protected

◆ isParseError()

bool CmdDrive::ExprInterpreter::isParseError ( ) const

◆ isResultTrivial()

bool CmdDrive::ExprInterpreter::isResultTrivial ( ) const
inline

◆ parsedExpr()

const char* CmdDrive::ExprInterpreter::parsedExpr ( ) const
inline

◆ process()

const char* CmdDrive::ExprInterpreter::process ( const char *  exprstr,
BufferString val,
bool  isargument = false 
)

◆ setBreakPrefix()

void CmdDrive::ExprInterpreter::setBreakPrefix ( const char *  endptr,
BufferString breakprefix 
) const
protected

Member Data Documentation

◆ breakprefix_

BufferString CmdDrive::ExprInterpreter::breakprefix_
protected

◆ drv_

const CmdDriver& CmdDrive::ExprInterpreter::drv_
protected

◆ errmsg_

BufferString CmdDrive::ExprInterpreter::errmsg_
protected

◆ exprstr_

const char* CmdDrive::ExprInterpreter::exprstr_
protected

◆ parsedexpr_

BufferString CmdDrive::ExprInterpreter::parsedexpr_
protected

◆ trivialresult_

bool CmdDrive::ExprInterpreter::trivialresult_
protected

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