Class xlifepp::Collection#

template<typename T>
class Collection : public std::vector<T>#

Inheritence diagram for xlifepp::Collection:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="xlifepp::Collection< string_t >" tooltip="xlifepp::Collection< string_t >"] "2" [label="std::vector< T >" tooltip="std::vector< T >"] "1" [label="xlifepp::Collection< T >" tooltip="xlifepp::Collection< T >" fillcolor="#BFBFBF"] "3" -> "1" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::Collection:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "2" [label="std::vector< T >" tooltip="std::vector< T >"] "1" [label="xlifepp::Collection< T >" tooltip="xlifepp::Collection< T >" fillcolor="#BFBFBF"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

a simple interface to std::vector<T> add the insertion operator <<, the constructors from enumerating items and access to items using operator ()

Public Functions

inline Collection()#

default constructor

inline Collection(const std::initializer_list<T> &ts)#

constructor from std::initializer_list<T>

inline Collection(const std::vector<T> &ts)#

constructor from std::vector<T>

inline Collection(const T &s1)#

constructor from 1 T objects

inline Collection(const T &s1, const T &s2)#

constructor from 2 T objects

inline Collection(const T &s1, const T &s2, const T &s3)#

constructor from 3 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4)#

constructor from 4 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5)#

constructor from 5 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6)#

constructor from 6 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7)#

constructor from 7 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8)#

constructor from 8 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9)#

constructor from 9 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10)#

constructor from 10 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11)#

constructor from 11 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12)#

constructor from 12 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13)#

constructor from 13 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14)#

constructor from 14 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15)#

constructor from 15 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16)#

constructor from 16 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17)#

constructor from 17 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18)#

constructor from 18 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19)#

constructor from 19 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20)#

constructor from 20 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21)#

constructor from 21 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22)#

constructor from 22 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23)#

constructor from 23 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24)#

constructor from 24 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25)#

constructor from 25 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26)#

constructor from 26 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27)#

constructor from 27 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28)#

constructor from 28 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29)#

constructor from 29 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30)#

constructor from 30 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31)#

constructor from 31 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32)#

constructor from 32 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33)#

constructor from 33 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34)#

constructor from 34 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35)#

constructor from 35 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35, const T &s36)#

constructor from 36 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35, const T &s36, const T &s37)#

constructor from 37 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35, const T &s36, const T &s37, const T &s38)#

constructor from 38 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35, const T &s36, const T &s37, const T &s38, const T &s39)#

constructor from 39 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35, const T &s36, const T &s37, const T &s38, const T &s39, const T &s40)#

constructor from 40 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35, const T &s36, const T &s37, const T &s38, const T &s39, const T &s40, const T &s41)#

constructor from 41 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35, const T &s36, const T &s37, const T &s38, const T &s39, const T &s40, const T &s41, const T &s42)#

constructor from 42 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35, const T &s36, const T &s37, const T &s38, const T &s39, const T &s40, const T &s41, const T &s42, const T &s43)#

constructor from 43 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35, const T &s36, const T &s37, const T &s38, const T &s39, const T &s40, const T &s41, const T &s42, const T &s43, const T &s44)#

constructor from 44 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35, const T &s36, const T &s37, const T &s38, const T &s39, const T &s40, const T &s41, const T &s42, const T &s43, const T &s44, const T &s45)#

constructor from 45 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35, const T &s36, const T &s37, const T &s38, const T &s39, const T &s40, const T &s41, const T &s42, const T &s43, const T &s44, const T &s45, const T &s46)#

constructor from 46 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35, const T &s36, const T &s37, const T &s38, const T &s39, const T &s40, const T &s41, const T &s42, const T &s43, const T &s44, const T &s45, const T &s46, const T &s47)#

constructor from 47 T objects

inline Collection(const T &s1, const T &s2, const T &s3, const T &s4, const T &s5, const T &s6, const T &s7, const T &s8, const T &s9, const T &s10, const T &s11, const T &s12, const T &s13, const T &s14, const T &s15, const T &s16, const T &s17, const T &s18, const T &s19, const T &s20, const T &s21, const T &s22, const T &s23, const T &s24, const T &s25, const T &s26, const T &s27, const T &s28, const T &s29, const T &s30, const T &s31, const T &s32, const T &s33, const T &s34, const T &s35, const T &s36, const T &s37, const T &s38, const T &s39, const T &s40, const T &s41, const T &s42, const T &s43, const T &s44, const T &s45, const T &s46, const T &s47, const T &s48)#

constructor from 48 T objects

inline explicit Collection(int n)#

constructor from size

inline explicit Collection(int n, const T &s)#

constructor from size and value

inline T &operator()(number_t n)#

access to n-th number (non const)

inline const T &operator()(number_t n) const#

access to n-th number (const)

inline void print(PrintStream &os) const#

print utility

inline void print(std::ostream &out) const#

print utility