FrameRange.H File Reference

#include "Util/Assert.H"
#include "Util/SimTime.H"
#include <string>
#include <vector>
Include dependency graph for FrameRange.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FrameRange
 Specification of a range of frames with given inter-frame delay. More...

Functions

std::string convertToString (const FrameRange &val)
 FrameRange overload: format is "first-step-last@delay".
void convertFromString (const std::string &str, FrameRange &val)
 FrameRange overload: format is "[[first[-step]]-[last]]@delay".

Detailed Description

A range of frames at a given inter-frame delay

Definition in file FrameRange.H.


Function Documentation

void convertFromString ( const std::string str,
FrameRange val 
) [inline]

FrameRange overload: format is "[[first[-step]]-[last]]@delay".

If the entire "first-step-list" range is missing, then we assume 0-INT_MAX. If just "last" is missing (i.e., we got "first-"), then we assume last=INT_MAX. If just "first" is missing, then we assume first=0. If "step" is missing, we assume step=1.

Definition at line 104 of file FrameRange.H.

References FrameRange::fromString().

std::string convertToString ( const FrameRange val  )  [inline]

FrameRange overload: format is "first-step-last@delay".

Definition at line 96 of file FrameRange.H.

References FrameRange::toString().

Generated on Sun May 8 08:42:45 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3