ValueList.h

Go to the documentation of this file.
00001 #ifndef __VALUELIST_H__
00002 #define __VALUELIST_H__
00003 
00004 /*
00005 
00006 $Header$
00007 
00008 */
00009 
00010 #include <vector>
00011 
00012 #include "ValueBase.h"
00013 
00014 // Messages.
00015 static const char *const MSG_VALUE_LIST_WRONG_FORMAT = "Wrong value list format '%s'.";
00016 static const char *const MSG_VALUE_LIST_EMPTY        = "Empty list.";
00017 static const char *const MSG_VALUE_LIST_UNEXPECTED   = "Unexpected value in list. Expected '%s' value, but '%s' found.";
00018 
00019 using namespace std;
00020 
00021 class ValueBase;
00022 
00023 class ValueList : public vector<ValueBase *>
00024 {
00025 
00026 public:
00027 
00028   ValueList();
00029 
00030   void clean();
00031 
00032   int printf(const char *format, ...) __attribute__ ((format (printf, 2, 3)));
00033   int scanf(const char *format, ...) __attribute__ ((format (scanf, 2, 3)));
00034 
00035 };
00036 
00037 #endif
00038 

Generated on Thu Sep 6 20:11:25 2007 for Pylon Application Platform by  doxygen 1.5.1