1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright 9 * notice, this list of conditions and the following disclaimer in the 10 * documentation and/or other materials provided with the distribution; 11 * neither the name of the copyright holders nor the names of its 12 * contributors may be used to endorse or promote products derived from 13 * this software without specific prior written permission. 14 * 15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 16 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 17 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 18 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 19 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 20 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 21 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * 27 * Authors: Gabe Black 28 */ 29 30#ifndef __SYSTEMC_EXT_SYSTEMC_H__ 31#define __SYSTEMC_EXT_SYSTEMC_H__ 32 33#include "systemc" 34 35// Collect "using" declarations for the various namespaces. 36#include "channel/_using.hh" 37#include "core/_using.hh" 38#include "dt/_using.hh" 39#include "utils/_using.hh" 40 41// Include some system header files, and import some symbols from std into 42// the base namespace. 43#include <stdint.h> 44 45#include <cassert> 46#include <climits> 47#include <cmath> 48#include <cstddef> 49#include <cstdio> 50#include <cstring> 51#include <exception> 52#include <fstream> 53#include <iostream> 54#include <memory> 55#include <string> 56#include <typeinfo> 57#include <utility> 58#include <vector> 59 60using std::ios; 61using std::streambuf; 62using std::streampos; 63using std::streamsize; 64using std::iostream; 65using std::istream; 66using std::ostream; 67using std::cin; 68using std::cout; 69using std::cerr; 70using std::endl; 71using std::flush; 72using std::dec; 73using std::hex; 74using std::oct; 75using std::fstream; 76using std::ifstream; 77using std::ofstream; 78using std::size_t; 79using std::memchr; 80using std::memcmp; 81using std::memcpy; 82using std::memmove; 83using std::memset; 84using std::strcat; 85using std::strchr; 86using std::strcmp; 87using std::strncmp; 88using std::strcpy; 89using std::strncpy; 90using std::strcspn; 91using std::strspn; 92using std::strlen; 93using std::strpbrk; 94using std::strstr; 95using std::strtok; 96 97#endif //__SYSTEMC_EXT_SYSTEMC_H__ 98