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

SettingsMacros.h

Go to the documentation of this file.
00001 // Copyright (C) 2003 Johan Hoffman and Anders Logg.
00002 // Licensed under the GNU GPL Version 2.
00003 
00004 // These are not really macros, but we try to mimic the structure
00005 // of the log system.
00006 
00007 #ifndef __SETTINGS_MACROS_H
00008 #define __SETTINGS_MACROS_H
00009 
00010 #include <stdarg.h>
00011 
00012 namespace dolfin {
00013 
00015   void dolfin_parameter(Parameter::Type type, const char* identifier, ...);
00016 
00018   void dolfin_set(const char* identifier, ...);
00019 
00021   void dolfin_set_aptr(const char* identifier, va_list aptr);
00022 
00024   Parameter dolfin_get(const char* identifier);
00025 
00027   void dolfin_load(const char* filename);
00028 
00030   void dolfin_save(const char* filename);
00031 
00032 }
00033 
00034 #endif


Documentation automatically generated with Doxygen on 10 Sep 2004.