aboutsummaryrefslogtreecommitdiff
path: root/src/variable.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/variable.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/variable.h b/src/variable.h
index 1b5542e..c8679a8 100644
--- a/src/variable.h
+++ b/src/variable.h
@@ -2,12 +2,15 @@
2#define VARIABLE_H 2#define VARIABLE_H
3 3
4#include "types.h" 4#include "types.h"
5#include <bu/archivebase.h>
5 6
6/** 7/**
7 * A build variable, which is basically a flexible, limited type range variant. 8 * A build variable, which is basically a flexible, limited type range variant.
8 */ 9 */
9class Variable 10class Variable
10{ 11{
12friend Bu::ArchiveBase &operator<<( Bu::ArchiveBase &ar, const Variable &v );
13friend Bu::ArchiveBase &operator>>( Bu::ArchiveBase &ar, Variable &v );
11public: 14public:
12 enum Type 15 enum Type
13 { 16 {
@@ -112,4 +115,7 @@ namespace Bu
112Bu::Formatter &operator<<( Bu::Formatter &f, const Variable::Type &t ); 115Bu::Formatter &operator<<( Bu::Formatter &f, const Variable::Type &t );
113Bu::Formatter &operator<<( Bu::Formatter &f, const Variable &v ); 116Bu::Formatter &operator<<( Bu::Formatter &f, const Variable &v );
114 117
118Bu::ArchiveBase &operator<<( Bu::ArchiveBase &ar, const Variable &v );
119Bu::ArchiveBase &operator>>( Bu::ArchiveBase &ar, Variable &v );
120
115#endif 121#endif