OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CmdDrive::ExprInterpreter Class Reference

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

Detailed Description

Constructor & Destructor Documentation

CmdDrive::ExprInterpreter::ExprInterpreter ( const CmdDriver )

Member Function Documentation

const char* CmdDrive::ExprInterpreter::breakPrefix ( ) const
inline
const char* CmdDrive::ExprInterpreter::errMsg ( ) const
const char* CmdDrive::ExprInterpreter::interpretCompositeExpr ( const char *  parstr,
BufferString val 
)
protected
const char* CmdDrive::ExprInterpreter::interpretSingleExpr ( const char *  parstr,
BufferString val 
)
protected
bool CmdDrive::ExprInterpreter::isParseError ( ) const
bool CmdDrive::ExprInterpreter::isResultTrivial ( ) const
inline
const char* CmdDrive::ExprInterpreter::parsedExpr ( ) const
inline
const char* CmdDrive::ExprInterpreter::process ( const char *  exprstr,
BufferString val,
bool  isargument = false 
)
void CmdDrive::ExprInterpreter::setBreakPrefix ( const char *  endptr,
BufferString breakprefix 
) const
protected

Member Data Documentation

BufferString CmdDrive::ExprInterpreter::breakprefix_
protected
const CmdDriver& CmdDrive::ExprInterpreter::drv_
protected
BufferString CmdDrive::ExprInterpreter::errmsg_
protected
const char* CmdDrive::ExprInterpreter::exprstr_
protected
BufferString CmdDrive::ExprInterpreter::parsedexpr_
protected
bool CmdDrive::ExprInterpreter::trivialresult_
protected

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