yast2-core
YCPVoid.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | |
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
8 | |
9 | core system |
10 | (C) SuSE GmbH |
11 \----------------------------------------------------------------------/
12 
13  File: YCPVoid.h
14 
15  Author: Mathias Kettner <kettner@suse.de>
16  Maintainer: Thomas Roelz <tom@suse.de>
17 
18 /-*/
19 // -*- c++ -*-
20 
21 #ifndef YCPVoid_h
22 #define YCPVoid_h
23 
24 
25 #include "YCPValue.h"
26 
34 class YCPVoidRep : public YCPValueRep
35 {
36 protected:
37  friend class YCPVoid;
38 
42  YCPVoidRep();
43 
44 public:
49  string toString() const;
50 
54  std::ostream & toStream (std::ostream & str) const;
55  std::ostream & toXml (std::ostream & str, int indent ) const;
56 
60  YCPValueType valuetype() const;
61 
66  YCPOrder compare(const YCPVoid &v) const;
67 };
68 
75 class YCPVoid : public YCPValue
76 {
77  DEF_COMMON(Void, Value);
78 
79  static YCPVoid* nil;
80 public:
81  YCPVoid();
83 };
84 #endif // YCPVoid_h

Generated on a sunny day for yast2-core by doxygen 1.8.2