Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
Classes | Public Member Functions | Public Attributes | List of all members
Core::ParserPrivate Class Reference

Classes

class  BinaryOperator
 
class  UnaryOperator
 

Public Member Functions

bool scan_expression (std::string &expressions, std::string &expression)
 
bool split_expression (std::string expression, std::string &varname, std::string &vartree)
 
bool parse_expression_tree (std::string expression, ParserNodeHandle &ehandle, std::string &error)
 
bool scan_sub_expression (std::string &expression, std::string &subexpression)
 
bool scan_subs_expression (std::string &expression, std::string &subexpression)
 
bool scan_constant_value (std::string &expression, std::string &value)
 
bool scan_variable_name (std::string &expression, std::string &var_name)
 
bool scan_constant_string (std::string &expression, std::string &str)
 
bool scan_function (std::string &expression, std::string &function)
 
bool scan_equal_sign (std::string &expression)
 
void split_function (std::string &expression, std::string &fun_name, std::vector< std::string > &fun_args)
 
void split_subs (std::string &expression, std::vector< std::string > &start_args, std::vector< std::string > &step_args, std::vector< std::string > &end_args, std::string &varname)
 
bool check_syntax (std::string &expression, std::string &error)
 
bool scan_binary_operator (std::string &expression, std::string &binary_operator)
 
bool scan_pre_unary_operator (std::string &expression, std::string &unary_operator)
 
bool scan_post_unary_operator (std::string &expression, std::string &unary_operator)
 
bool get_unary_function_name (std::string &unary_operator, std::string &fun_name)
 
bool get_binary_function_name (std::string &binary_operator, std::string &fun_name)
 
bool get_binary_priority (std::string &binary_operator, int &priority)
 
bool remove_global_parentheses (std::string &expression)
 
void remove_comments (std::string &expression)
 
bool recursive_validate (ParserNodeHandle &handle, ParserFunctionCatalogHandle &fhandle, ParserVariableList &var_list, std::string &error, std::string &expression)
 
void optimize_mark_used (ParserScriptFunctionHandle &fhandle)
 
bool optimize_process_node (ParserNodeHandle &nhandle, std::list< ParserScriptVariableHandle > &variables, std::map< std::string, ParserScriptVariableHandle > &named_variables, std::list< ParserScriptFunctionHandle > &functions, ParserScriptVariableHandle &ohandle, int &cnt, std::string &error)
 

Public Attributes

std::map< std::string, BinaryOperatorbinary_operators_
 
std::map< std::string, UnaryOperatorunary_pre_operators_
 
std::map< std::string, UnaryOperatorunary_post_operators_
 
std::map< std::string, float > numerical_constants_
 

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