#include <UDQASTNode.hpp>

Public Member Functions

 UDQASTNode ()
 
 UDQASTNode (UDQTokenType type_arg)
 
 UDQASTNode (double scalar_value)
 
 UDQASTNode (UDQTokenType type_arg, const std::string &func_name, const UDQASTNode &arg)
 
 UDQASTNode (UDQTokenType type_arg, const std::string &func_name, const UDQASTNode &left, const UDQASTNode &right)
 
 UDQASTNode (UDQTokenType type_arg, const std::string &func_name)
 
 UDQASTNode (UDQTokenType type_arg, const std::string &string_value, const std::vector< std::string > &selector)
 
UDQSet eval (UDQVarType eval_target, const UDQContext &context) const
 
bool valid () const
 
std::set< UDQTokenTypefunc_tokens () const
 
void update_type (const UDQASTNode &arg)
 
void set_left (const UDQASTNode &arg)
 
void set_right (const UDQASTNode &arg)
 
UDQASTNodeget_left () const
 
UDQASTNodeget_right () const
 
bool operator== (const UDQASTNode &data) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Static Public Member Functions

static UDQASTNode serializeObject ()
 

Public Attributes

UDQVarType var_type = UDQVarType::NONE
 

Constructor & Destructor Documentation

◆ UDQASTNode() [1/7]

Opm::UDQASTNode::UDQASTNode ( )

◆ UDQASTNode() [2/7]

Opm::UDQASTNode::UDQASTNode ( UDQTokenType  type_arg)
explicit

◆ UDQASTNode() [3/7]

Opm::UDQASTNode::UDQASTNode ( double  scalar_value)
explicit

◆ UDQASTNode() [4/7]

Opm::UDQASTNode::UDQASTNode ( UDQTokenType  type_arg,
const std::string func_name,
const UDQASTNode arg 
)

◆ UDQASTNode() [5/7]

Opm::UDQASTNode::UDQASTNode ( UDQTokenType  type_arg,
const std::string func_name,
const UDQASTNode left,
const UDQASTNode right 
)

◆ UDQASTNode() [6/7]

Opm::UDQASTNode::UDQASTNode ( UDQTokenType  type_arg,
const std::string func_name 
)

◆ UDQASTNode() [7/7]

Opm::UDQASTNode::UDQASTNode ( UDQTokenType  type_arg,
const std::string string_value,
const std::vector< std::string > &  selector 
)

Member Function Documentation

◆ eval()

UDQSet Opm::UDQASTNode::eval ( UDQVarType  eval_target,
const UDQContext context 
) const

◆ func_tokens()

std::set< UDQTokenType > Opm::UDQASTNode::func_tokens ( ) const

◆ get_left()

UDQASTNode * Opm::UDQASTNode::get_left ( ) const

◆ get_right()

UDQASTNode * Opm::UDQASTNode::get_right ( ) const

◆ operator==()

bool Opm::UDQASTNode::operator== ( const UDQASTNode data) const

◆ serializeObject()

static UDQASTNode Opm::UDQASTNode::serializeObject ( )
static

◆ serializeOp()

template<class Serializer >
void Opm::UDQASTNode::serializeOp ( Serializer serializer)
inline

References var_type.

◆ set_left()

void Opm::UDQASTNode::set_left ( const UDQASTNode arg)

◆ set_right()

void Opm::UDQASTNode::set_right ( const UDQASTNode arg)

◆ update_type()

void Opm::UDQASTNode::update_type ( const UDQASTNode arg)

◆ valid()

bool Opm::UDQASTNode::valid ( ) const

Member Data Documentation

◆ var_type

UDQVarType Opm::UDQASTNode::var_type = UDQVarType::NONE

Referenced by serializeOp().


The documentation for this class was generated from the following file: