def.h

Go to the documentation of this file.
00001 /* -*- Mode: c++ -*- */
00002 /*
00003  *  this is part of Spm
00004  *
00005  *  Copyright (c) 2003-2007 Guillaume Chevallereau
00006  *
00007  *  This program is free software. You can redistribute it and/or modify it 
00008  *  under the terms of the GNU General Public License as published by the 
00009  *  Free Software Foundation. Either version 2 of the license or (at your 
00010  *  option) any later version.
00011  *
00012  *  This program is distributed in the hope that it will be usefull but WITHOUT
00013  *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
00014  *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for 
00015  *  more details.
00016  *
00017  *  You should have received a copy of the GNU General Public License along 
00018  *  with this program; if not, write to the Free Software Foundation, Inc., 
00019  *  59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
00020  */
00021 #ifndef __DEF_H__
00022 #define __DEF_H__
00023 #include <string>
00024 const char END_LINE = '\n';
00025 const char COMMA = ',';
00026 const char EQUAL = '=';
00027 const char DOLLAR = '$';
00028 const char BLANK = ' ';
00029 const char DOT ='.';
00030 const char PARENTHESIS_OPEN = '(';
00031 const char PARENTHESIS_CLOSE = ')';
00032 const char BRACKET_OPEN_C = '[';
00033 const char BRACKET_CLOSE_C = ']';
00034 const char PATH_SEPARATOR = '/';
00035 const char QUOTE = '"';
00036 const std::string SYSTEM = "system";
00037 const int SEMAPHORE_SHARED = 1;
00038 const int SEMAPHORE_INIT_VALUE = 1;
00039 const char SEPARATOR = '.';
00040 
00041 #ifndef ASSERT
00042 #ifdef __USE_ASSERT__
00043 #include <assert.h>
00044 #define ASSERT(x) assert(x);
00045 #else
00046 #define ASSERT(x) ;
00047 #endif
00048 #endif
00049 
00050 #endif

Generated on Wed Jul 4 15:27:21 2007 for libSpm by  doxygen 1.4.6