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

value.h

00001 /*****************************************************************************
00002  * value.h
00003  * Last Change: 2003-12-27
00004  * Copyright (c) 2003 Sebastian "randomZ" Beschke
00005  ****************
00006  * This file is part of the libsofu project, a parser library for an all-purpose
00007  * ASCII file format. More information can be found on the project web site
00008  * at http://sofu.sourceforge.net/ .
00009  *
00010  * libsofu is published under the terms of the MIT license, which basically means
00011  * "Do with it whatever you want". For more information, see the license.txt
00012  * file that should be enclosed with libsofu distributions. A copy of the license
00013  * is (at the time of this writing) also available at
00014  * http://www.opensource.org/licenses/mit-license.php .
00015  *****************************************************************************/
00016 
00017 #ifndef INC_SOFU_VALUE_H
00018 #define INC_SOFU_VALUE_H
00019 
00020 #include "main.h"
00021 #include "object.h"
00022 
00023 namespace Sofu
00024 {
00027     class Value : public Object
00028     {
00029         private:
00030             string value;
00031         public:
00032             Value(const string& ivalue);
00033             Value(const Value& cpy);
00034             ~Value(void);
00035         
00039             string getString(void);
00040             
00044             int getInt(void);
00045             
00049             double getFloat(void);
00050     };
00051 }
00052 
00053 #endif // INC_VALUE_H

Generated on Wed Jan 7 21:34:45 2004 for libsofu by doxygen 1.3.5