version 1.7, 2004/10/17 20:40:01
|
version 1.8, 2005/01/24 14:07:23
|
|
|
CMPIPredicate* sbcGetPredicateAt(CMPISubCond* eSbc, unsigned int index, CMPIStatus* rc) { | CMPIPredicate* sbcGetPredicateAt(CMPISubCond* eSbc, unsigned int index, CMPIStatus* rc) { |
CMPI_SubCond *sbc=(CMPI_SubCond*)eSbc; | CMPI_SubCond *sbc=(CMPI_SubCond*)eSbc; |
if (index<=sbc->row->size()) { | if (index<=sbc->row->size()) { |
const term_el *term=sbc->row[index].getData(); |
const term_el *term=(sbc->row->getData())+index; |
| |
CMPIPredicate *prd=(CMPIPredicate*)new CMPI_Predicate(term); | CMPIPredicate *prd=(CMPIPredicate*)new CMPI_Predicate(term); |
if (rc) CMSetStatus(rc,CMPI_RC_OK); | if (rc) CMSetStatus(rc,CMPI_RC_OK); |