Rudiments
scalar.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4#ifndef RUDIMENTS_SCALAR_H
5#define RUDIMENTS_SCALAR_H
6
7#include <rudiments/private/scalarincludes.h>
8
10template <class valuetype>
11class scalar : public scalarcollection<valuetype> {
12 public:
13
15 scalar();
16
20
24
29
34
36 ~scalar();
37
39 void setValue(valuetype v);
40
44
47
55 bool clear();
56
57 #include <rudiments/private/scalar.h>
58};
59
60#include <rudiments/private/scalarinlines.h>
61
62#endif
Definition avltree.h:11
Definition scalar.h:11
scalar()
Definition scalarinlines.h:9
scalar< valuetype > & operator=(scalar< valuetype > &a)
Definition scalarinlines.h:28
valuetype & getReference()
Definition scalarinlines.h:79
bool clear()
Definition scalarinlines.h:85
void setValue(valuetype v)
Definition scalarinlines.h:67
~scalar()
Definition scalarinlines.h:60
valuetype getValue()
Definition scalarinlines.h:73
Definition scalarcollection.h:13