Logo Search packages:      
Sourcecode: pcalendar version File versions  Download package

void net::sf::linuxorg::pcal::engine::Engine::deleteSypmthomValue ( int  sympthomIndex,
int  deletedValueIndex 
) [inline]

Deletes the sympthom value from the definition and updates the file data

Parameters:
sympthomIndex
deletedValueIndex

Definition at line 1669 of file Engine.java.

References applyDateIntDelta(), net::sf::linuxorg::pcal::engine::BBTSympthomsSetDefinition::getSympthomValuesVector(), modified, and sympthomsDefinition.

                                                                                   {
            sympthomsDefinition.getSympthomValuesVector(sympthomIndex).remove(deletedValueIndex);

            if(deletedValueIndex>0) {
                  applyDateIntDelta(sympthomIndex, deletedValueIndex, -1);
            } else {
                  applyDateIntDelta(sympthomIndex, deletedValueIndex+1, -1);
            }

            modified = true;
      }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index