xref: /aoo41x/main/autodoc/source/inc/precomp.h (revision 2123d757)
1*2123d757SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*2123d757SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*2123d757SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*2123d757SAndrew Rist  * distributed with this work for additional information
6*2123d757SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*2123d757SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*2123d757SAndrew Rist  * "License"); you may not use this file except in compliance
9*2123d757SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*2123d757SAndrew Rist  *
11*2123d757SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*2123d757SAndrew Rist  *
13*2123d757SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*2123d757SAndrew Rist  * software distributed under the License is distributed on an
15*2123d757SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*2123d757SAndrew Rist  * KIND, either express or implied.  See the License for the
17*2123d757SAndrew Rist  * specific language governing permissions and limitations
18*2123d757SAndrew Rist  * under the License.
19*2123d757SAndrew Rist  *
20*2123d757SAndrew Rist  *************************************************************/
21*2123d757SAndrew Rist 
22*2123d757SAndrew Rist 
23cdf0e10cSrcweir #ifndef ADC_PRECOMP_H_06071998
24cdf0e10cSrcweir #define ADC_PRECOMP_H_06071998
25cdf0e10cSrcweir 
26cdf0e10cSrcweir 
27cdf0e10cSrcweir // For en/disabling csv_assertions:
28cdf0e10cSrcweir #ifndef DEBUG
29cdf0e10cSrcweir #define CSV_NO_ASSERTIONS
30cdf0e10cSrcweir #endif
31cdf0e10cSrcweir 
32cdf0e10cSrcweir #include <cosv/csv_precomp.h>
33cdf0e10cSrcweir 
34cdf0e10cSrcweir #include <vector>
35cdf0e10cSrcweir #include <map>
36cdf0e10cSrcweir #include <set>
37cdf0e10cSrcweir 
38cdf0e10cSrcweir 
39cdf0e10cSrcweir 
40cdf0e10cSrcweir // Shortcuts to access csv::-types:
41cdf0e10cSrcweir using csv::String;
42cdf0e10cSrcweir using csv::StringVector;
43cdf0e10cSrcweir using csv::StreamStr;
44cdf0e10cSrcweir using csv::c_str;
45cdf0e10cSrcweir typedef csv::StreamStrLock  StreamLock;
46cdf0e10cSrcweir 
47cdf0e10cSrcweir 
48cdf0e10cSrcweir 
49cdf0e10cSrcweir inline std::ostream &
Cout()50cdf0e10cSrcweir Cout() { return std::cout; }
51cdf0e10cSrcweir inline std::ostream &
Cerr()52cdf0e10cSrcweir Cerr() { return std::cerr; }
53cdf0e10cSrcweir 
54cdf0e10cSrcweir inline csv::F_FLUSHING_FUNC
Endl()55cdf0e10cSrcweir Endl()  { return csv::Endl; }
56cdf0e10cSrcweir inline csv::F_FLUSHING_FUNC
Flush()57cdf0e10cSrcweir Flush() { return csv::Flush; }
58cdf0e10cSrcweir 
59cdf0e10cSrcweir 
60cdf0e10cSrcweir 
61cdf0e10cSrcweir 
62cdf0e10cSrcweir #endif
63