#include "Util/Assert.H"
#include "Util/SimTime.H"
#include <string>
#include <vector>
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". |
A range of frames at a given inter-frame delay
Definition in file FrameRange.H.
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().