classad_stl.h

00001 /***************************************************************
00002  *
00003  * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
00004  * University of Wisconsin-Madison, WI.
00005  * 
00006  * Licensed under the Apache License, Version 2.0 (the "License"); you
00007  * may not use this file except in compliance with the License.  You may
00008  * obtain a copy of the License at
00009  * 
00010  *    http://www.apache.org/licenses/LICENSE-2.0
00011  * 
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  *
00018  ***************************************************************/
00019 
00020 
00021 #ifndef __CLASSAD_CLASSAD_STL_H__
00022 #define __CLASSAD_CLASSAD_STL_H__
00023 
00024 #include <map>
00025 #include <list>
00026 
00027 #ifdef WIN32
00028 #include <hash_map>
00029 #else
00030 #include <ext/hash_map>
00031 #endif
00032 
00033 #ifdef WIN32
00034 #define classad_hash_map stdext::hash_map
00035 #else
00036 #define classad_hash_map __gnu_cxx::hash_map
00037 #endif
00038 #define classad_map   std::map 
00039 #define classad_slist std::list
00040 
00041 #endif /* __CLASSAD_CLASSAD_STL_H__ */
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends