|
tgen
|
Sequence instance. More...
Public Member Functions | |
| instance (const std::vector< T > &vec) | |
| Creates a sequence instance from a std::vector. | |
| int | size () const |
| Returns the size of the sequence instance. | |
| const T & | operator[] (int idx) const |
| Returns the value at some position of the instance. | |
| instance & | sort () |
| Sorts the instance in non-decreasing order. | |
| instance & | reverse () |
| Reverses the instance. | |
| instance | operator+ (const instance &rhs) |
| Concatenates two instances. | |
| std::vector< T > | to_std () const |
| Converts the instance to a std::vector. | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const instance &inst) |
| Prints the instance to a std::ostream. | |
Sequence instance.