#include <tjvallist.h>
Inheritance diagram for ValList< T >:


Public Member Functions | |
| ValList (const STD_string &object_label="unnamedValList", unsigned int repetitions=1) | |
| ValList (T value) | |
| ValList (const ValList< T > &vl) | |
| ValList & | operator= (const ValList< T > &vl) |
| ValList & | set_value (T value) |
| ValList & | add_sublist (const ValList< T > &vl) |
| ValList & | multiply_repetitions (unsigned int reptimes) |
| STD_vector< T > | get_values_flat () const |
| STD_vector< T > | get_elements_flat () const |
| bool | operator== (const ValList< T > &vl) const |
| bool | operator< (const ValList< T > &vl) const |
| T | operator[] (unsigned int i) const |
| unsigned int | elements_size () const |
| unsigned int | size () const |
| STD_string | printvallist () const |
| bool | parsevallist (const STD_string &str) |
| STD_ostream & | print2stream (STD_ostream &os) const |
| void | clear () |
Friends | |
| class | ValListTest |
Definition at line 36 of file tjvallist.h.
| ValList< T >::ValList | ( | const STD_string & | object_label = "unnamedValList< T >", |
|
| unsigned int | repetitions = 1 | |||
| ) |
Empty node with given label and repetitions
Append another node to this
Multiply number of repetitions of this node by 'reptimes'
Definition at line 104 of file tjvallist.h.
| STD_vector<T> ValList< T >::get_values_flat | ( | ) | const |
Returns unrolled values of nested list
| STD_vector<T> ValList< T >::get_elements_flat | ( | ) | const |
Returns unrolled values of nested list for one repetition of this list
Comparison operator
| T ValList< T >::operator[] | ( | unsigned int | i | ) | const |
Acess i'th value in the nested list
| unsigned int ValList< T >::elements_size | ( | ) | const |
Returns number of values of one repetition of this node
| unsigned int ValList< T >::size | ( | ) | const [inline] |
Returns number of values
Definition at line 140 of file tjvallist.h.
| STD_string ValList< T >::printvallist | ( | ) | const |
Serializes list to a string
| bool ValList< T >::parsevallist | ( | const STD_string & | str | ) |
Parses list from string
| STD_ostream& ValList< T >::print2stream | ( | STD_ostream & | os | ) | const |
Prints value list to stream
Reimplemented in JDXrecoValList.
| void ValList< T >::clear | ( | ) |
Clears the value list
1.5.1