00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef SIO_STREAMMANAGER_H
00014 #define SIO_STREAMMANAGER_H 1
00015
00016 #include <map>
00017 #include <string>
00018
00019 #include "SIO_definitions.h"
00020
00021 class SIO_stream;
00022
00023 typedef std::map< std::string, SIO_stream* > streamMap_c;
00024 typedef std::map< std::string, SIO_stream* >::iterator streamMap_i;
00025
00026 class SIO_streamManager
00027 {
00028 public:
00029 static SIO_stream* add( const char* );
00030 static SIO_stream* add( const char*, unsigned int );
00031 static SIO_stream* get( const char* );
00032 static SIO_verbosity getVerbosity();
00033 static unsigned int remove( const char* );
00034 static unsigned int remove( SIO_stream* );
00035 static SIO_verbosity setVerbosity( SIO_verbosity );
00036
00037 private:
00038 static streamMap_c* streamMap;
00039 static SIO_verbosity verbosity;
00040
00041 };
00042 #endif