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

VComponent * VComponent::get_current_component (  ) 

Iterate through components.

Iteration Routines. There are two forms of iterators, internal and external. The internal ones came first, and are almost completely sufficient, but they fail badly when you want to construct a loop that removes components from the container.

Definition at line 188 of file vcomponent.cpp.

                                             {
      icalcomponent* t = icalcomponent_get_current_component(imp);
      return ((t != NULL) ? new VComponent(t) : NULL);
}


Generated by  Doxygen 1.6.0   Back to index