2.2.3.18.6 vector::Pattern
Description
Fill vector with arbitrary set of text values
Syntax
BOOL Pattern( vector<string> & vsSource, int nValueRepeat = 1, int nSequenceRepeat = 1, int nFillFrom = -1, int nFillCount = -1 )
Parameters
- vsSource
- [input]text values to be filled with
- nValueRepeat
- [input]how many times each value repeats itself in the generated data sequence
- nSequenceRepeat
- [input]how many times each whole data sequence repeats itself in the generated dataset
- nFillFrom
- [input]index of vector from which the data sequence should begin (0-based offset)
- nFillCount
- [input]the number of elements to be filled
Return
TRUE on success, otherwise FALSE
Examples
Remark
See Also
DatasetObject::Pattern
Header to Included
origin.h