xref: /aoo42x/main/autodoc/source/udm/inc/precomp.h (revision 8a106958)
12123d757SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
32123d757SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
42123d757SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
52123d757SAndrew Rist  * distributed with this work for additional information
62123d757SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
72123d757SAndrew Rist  * to you under the Apache License, Version 2.0 (the
82123d757SAndrew Rist  * "License"); you may not use this file except in compliance
92123d757SAndrew Rist  * with the License.  You may obtain a copy of the License at
102123d757SAndrew Rist  *
112123d757SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
122123d757SAndrew Rist  *
132123d757SAndrew Rist  * Unless required by applicable law or agreed to in writing,
142123d757SAndrew Rist  * software distributed under the License is distributed on an
152123d757SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
162123d757SAndrew Rist  * KIND, either express or implied.  See the License for the
172123d757SAndrew Rist  * specific language governing permissions and limitations
182123d757SAndrew Rist  * under the License.
192123d757SAndrew Rist  *
202123d757SAndrew Rist  *************************************************************/
212123d757SAndrew Rist 
222123d757SAndrew Rist 
23cdf0e10cSrcweir #ifndef UDM_PRECOMP_H
24cdf0e10cSrcweir #define UDM_PRECOMP_H
25cdf0e10cSrcweir 
26cdf0e10cSrcweir // For en/disabling csv_assertions:
27cdf0e10cSrcweir #ifndef DEBUG
28cdf0e10cSrcweir #define CSV_NO_ASSERTIONS
29cdf0e10cSrcweir #endif
30cdf0e10cSrcweir 
31cdf0e10cSrcweir 
32cdf0e10cSrcweir #include <cosv/csv_precomp.h>
33cdf0e10cSrcweir #include <vector>
34cdf0e10cSrcweir #include <map>
35cdf0e10cSrcweir 
36cdf0e10cSrcweir 
37cdf0e10cSrcweir 
38cdf0e10cSrcweir // Shortcuts to access csv::-types:
39cdf0e10cSrcweir using csv::String;
40cdf0e10cSrcweir using csv::StringVector;
41cdf0e10cSrcweir using csv::StreamStr;
42cdf0e10cSrcweir using csv::c_str;
43cdf0e10cSrcweir typedef csv::StreamStrLock  StreamLock;
44cdf0e10cSrcweir 
45cdf0e10cSrcweir 
46cdf0e10cSrcweir 
47cdf0e10cSrcweir inline std::ostream &
Cout()48cdf0e10cSrcweir Cout() { return std::cout; }
49cdf0e10cSrcweir 
50cdf0e10cSrcweir inline std::ostream &
Cerr()51cdf0e10cSrcweir Cerr() { return std::cerr; }
52cdf0e10cSrcweir 
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