template struct Poco::NamedTuple<T0, NullTypeList>

#include <NamedTuple.h>

template <class T0>
struct NamedTuple<T0, NullTypeList>: public Poco::Tuple
{
    // typedefs

    typedef Tuple<T0> TupleType;
    typedef Tuple<T0>::Type Type;
    typedef std::vector<std::string> NameVec;
    typedef SharedPtr<NameVec> NameVecPtr;

    // construction

    NamedTuple();
    NamedTuple(const NameVecPtr& rNames);
    NamedTuple(typename TypeWrapper<T0>::CONSTTYPE& t0);

    NamedTuple(
        const NameVecPtr& rNames,
        typename TypeWrapper<T0>::CONSTTYPE& t0
        );

    NamedTuple(
        const std::string& n0,
        typename TypeWrapper<T0>::CONSTTYPE& t0
        );

    // methods

    const DynamicAny
    get(const std::string& name) const;

    const DynamicAny
    operator[](const std::string& name) const;

    template <int N>
    TypeGetter<N, Type>::ConstHeadType&
    get() const;

    template <int N>
    TypeGetter<N, Type>::HeadType&
    get();

    template <int N>
    void
    set(typename TypeGetter<N, Type>::ConstHeadType& val);

    const NameVecPtr&
    names();

    void
    setName(
        std::size_t index,
        const std::string& name
        );

    const std::string&
    getName(std::size_t index);

    bool
    operator==(const NamedTuple& other) const;

    bool
    operator!=(const NamedTuple& other) const;

    bool
    operator<(const NamedTuple& other) const;
};

Inherited Members

public:
    // typedefs

    typedef TypeListType<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::HeadType Type;

    // enums

    enum TupleLengthType;

    // methods

    template <int N>
    TypeGetter<N, Type>::ConstHeadType&
    get() const;

    template <int N>
    TypeGetter<N, Type>::HeadType&
    get();

    template <int N>
    void
    set(typename TypeGetter<N, Type>::ConstHeadType& val);

    bool
    operator==(const Tuple& other) const;

    bool
    operator!=(const Tuple& other) const;

    bool
    operator<(const Tuple& other) const;