Rudiments
nodecollection.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4#ifndef RUDIMENTS_NODECOLLECTION_H
5#define RUDIMENTS_NODECOLLECTION_H
6
7#include <rudiments/collection.h>
8
11template <class valuetype>
12class nodecollectionnode : virtual public object {
13 public:
15 virtual void setValue(valuetype value)=0;
16
18 virtual valuetype getValue()=0;
19
21 virtual valuetype &getReference()=0;
22
26};
27
30template <class valuetype>
31class nodecollection : public collection {
32 public:
35};
36
37#endif
Definition collection.h:11
Definition nodecollection.h:31
virtual nodecollectionnode< valuetype > * getFirst()=0
Definition nodecollection.h:12
virtual void setValue(valuetype value)=0
virtual valuetype & getReference()=0
virtual valuetype getValue()=0
virtual nodecollectionnode< valuetype > * getNext()=0
Definition object.h:10