Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

YCPVoid.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |  
00003 |                      __   __    ____ _____ ____                      |  
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |  
00005 |                       \ V / _` \___ \ | |   __) |                    |  
00006 |                        | | (_| |___) || |  / __/                     |  
00007 |                        |_|\__,_|____/ |_| |_____|                    |  
00008 |                                                                      |  
00009 |                               core system                            | 
00010 |                                                        (C) SuSE GmbH |  
00011 \----------------------------------------------------------------------/ 
00012 
00013    File:       YCPVoid.h
00014 
00015    Author:     Mathias Kettner <kettner@suse.de>
00016    Maintainer: Thomas Roelz <tom@suse.de>
00017 
00018 /-*/
00019 // -*- c++ -*-
00020 
00021 #ifndef YCPVoid_h
00022 #define YCPVoid_h
00023 
00024 
00025 #include "YCPValue.h"
00026 
00034 class YCPVoidRep : public YCPValueRep
00035 {
00036 protected:
00037     friend class YCPVoid;
00038 
00042     YCPVoidRep();
00043 
00044 public:
00049     string toString() const;
00050 
00054     std::ostream & toStream (std::ostream & str) const;
00055 
00059     YCPValueType valuetype() const;
00060 
00065     YCPOrder compare(const YCPVoid &v) const;
00066 };
00067 
00074 class YCPVoid : public YCPValue
00075 {
00076     DEF_COMMON(Void, Value);
00077 public:
00078     YCPVoid() : YCPValue(new YCPVoidRep()) {}
00079     YCPVoid(std::istream & str);
00080 };
00081 #endif   // YCPVoid_h

Generated on Fri Nov 9 18:15:23 2007 for yast2-core by doxygen 1.3.6