ddc
Public Member Functions | Protected Attributes | List of all members
TinyXPath::result_and_next Class Reference

xpath_stack element. Derives from expression_result, and also contains a pointer to the next element on the stack More...

Inheritance diagram for TinyXPath::result_and_next:
Inheritance graph
[legend]
Collaboration diagram for TinyXPath::result_and_next:
Collaboration graph
[legend]

Public Member Functions

 result_and_next (expression_result er_in, result_and_next *rnp_in_next)
 Constructor. More...
 
result_and_nextrnp_get_next ()
 Return next element. More...
 
- Public Member Functions inherited from TinyXPath::expression_result
 expression_result ()
 Dummy constructor. More...
 
 expression_result (const expression_result &er_2)
 Copy constructor. More...
 
expression_resultoperator= (const expression_result &er_2)
 
void v_set_bool (bool o_in)
 Set expression_result to a bool. More...
 
void v_set_int (int i_in)
 Set expression_result to an int. More...
 
void v_set_string (const char *cp_in)
 Set expression_result to a string. More...
 
void v_set_string (TiXmlString S_in)
 Set expression_result to a string. More...
 
void v_set_double (double d_in)
 Set expression_result to a double. More...
 
void v_set_comment (const char *cp_in)
 Set the comment associated with a stack element. This is for debuging. More...
 
int i_get_int ()
 Get the expression_result as an int. More...
 
TiXmlString S_get_string ()
 Get the expression_result as a string. More...
 
const char * cp_get_string ()
 Get the expression_result as a string. More...
 
bool o_get_bool ()
 
double d_get_double ()
 Get the expression_result as a double. More...
 
void v_set_node_set (node_set *nsp_source)
 Set the expression_result as a node set. More...
 
void v_set_node_set (TiXmlNode *XNp_root)
 Set the expression_result as a node set. More...
 
void v_set_node_set (TiXmlNode *XNp_root, const char *cp_lookup)
 Set the expression_result as a node set. More...
 
void v_set_node_set_recursive (TiXmlNode *XNp_root)
 Set the expression_result as a node set. More...
 
void v_set_node_set_recursive (TiXmlNode *XNp_root, const char *cp_lookup)
 Set the expression_result as a node set. More...
 
void v_set_node_set ()
 Set the expression_result as an empty node set. More...
 
node_setnsp_get_node_set ()
 Get the expression_result as a node set. More...
 

Protected Attributes

result_and_nextrnp_next
 Next element in the stack. More...
 
- Protected Attributes inherited from TinyXPath::expression_result
TiXmlString S_content
 String content. More...
 
bool o_content
 bool content More...
 
int i_content
 integer content More...
 
double d_content
 double content More...
 
node_set ns_set
 node set content More...
 

Additional Inherited Members

- Public Attributes inherited from TinyXPath::expression_result
e_expression_type e_type
 expression type More...
 

Detailed Description

xpath_stack element. Derives from expression_result, and also contains a pointer to the next element on the stack

Constructor & Destructor Documentation

◆ result_and_next()

TinyXPath::result_and_next::result_and_next ( expression_result  er_in,
result_and_next rnp_in_next 
)
inline

Constructor.

References rnp_next.

Referenced by TinyXPath::xpath_stack::v_push().

Here is the caller graph for this function:

Member Function Documentation

◆ rnp_get_next()

result_and_next* TinyXPath::result_and_next::rnp_get_next ( )
inline

Return next element.

References rnp_next.

Referenced by TinyXPath::xpath_stack::erp_previous(), TinyXPath::xpath_stack::v_pop(), and TinyXPath::xpath_stack::v_pop_one().

Here is the caller graph for this function:

Member Data Documentation

◆ rnp_next

result_and_next* TinyXPath::result_and_next::rnp_next
protected

Next element in the stack.

Referenced by result_and_next(), and rnp_get_next().


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