Revision 6304fb8b
Added by O'Neil Delpratt 5 months ago
latest10/hec/Saxon.C.API/XdmValue.h  

125  125  
126  126 
/** 
127  127 
* Get the first item in the sequence 
128 
* @return XdmItem or null if sequence is empty 

128 
* @return XdmItem or nullptr if sequence is empty


129  129 
*/ 
130  130 
virtual XdmItem * getHead(); 
131  131  
...  ...  
134  134 
* 
135  135 
* @param n the item that is required, counting the first item in the sequence as item zero 
136  136 
* @return the n'th item in the sequence making up the value, counting from zero 
137 
* return NULL if n is less than zero or greater than or equal to the number


137 
* return nullptr if n is less than zero or greater than or equal to the number


138  138 
* of items in the value 
139  139 
*/ 
140  140 
virtual XdmItem * itemAt(int n); 
Also available in: Unified diff
Saxon/C bug fixes and development work