|
template<typename T > |
std::enable_if< std::is_base_of< etiss::ToString, T >::value, std::ostream & >::type | etiss::operator<< (std::ostream &os, const T &val) |
| Implementation of the write to stream operator for objects, that implement the etiss::ToString interface. More...
|
|
Verbosity & | etiss::verbosity () |
| Get log level reference. More...
|
|
template<typename T > |
std::string | etiss::toString (const T &val) |
| conversion of type T to std::string. More...
|
|
std::list< std::string > | etiss::split (const std::string &str, std::function< size_t(const std::string &, size_t, size_t &)> findsplit) |
|
std::list< std::string > | etiss::split (const std::string &str, char splitchar) |
|
std::list< std::string > | etiss::split (const std::string &str, const std::string &splitstring) |
|
template<typename T , typename T2 , typename... O> |
std::string | etiss::toString (const T &val, const T2 &val2, const O &... others) |
| conversion of type T to std::string. More...
|
|
std::string | etiss::toString (const Verbosity &val) |
| prints string representation of verbosity level More...
|
|
void | etiss::log (Verbosity level, std::string msg) |
| write log message at the given level. More...
|
|
void | etiss::logC (Verbosity level, std::function< std::string(void)> msgGen) |
| write log message at the given level. More...
|
|
template<typename T > |
std::string | etiss::toLogString (const T &t) |
| Format the string representation of a value for the log output. More...
|
|
template<typename T1 , typename T2 , typename... O> |
std::string | etiss::toLogString (const T1 &t1, const T2 &t2, const O &... os) |
| Format a list of arguments for the log output. More...
|
|
template<typename T , typename... O> |
void | etiss::log (Verbosity level, std::string msg, const T &t, const O &... args) |
| additional objects will be converted to a string with toString and are added to the message More...
|
|
std::vector< std::string > | etiss::parseCommands (const std::string &cmdline) |
|
Configuration & | etiss::cfg (const std::string &cfgName) |
| Get reference of the global ETISS configuration object. More...
|
|
Configuration & | etiss::cfg () |
|
std::string | etiss::installDir () |
| Get ETISS installation directory. More...
|
|
std::string | etiss::jitFiles () |
| Get ETISS JIT files path. More...
|
|
std::vector< std::string > | etiss::jitExtHeaders () |
| Get ETISS JIT external headers. More...
|
|
std::vector< std::string > | etiss::jitExtLibraries () |
| Get ETISS JIT external libraries. More...
|
|
std::vector< std::string > | etiss::jitExtHeaderPaths () |
| Get ETISS JIT external path. More...
|
|
std::vector< std::string > | etiss::jitExtLibPaths () |
| Get ETISS JIT external path. More...
|
|
template<> |
std::string | etiss::Configuration::get< std::string > (const std::string &key, std::string default_, bool *default_used) |
|
endian_t | etiss::getEndianness () |
| evaluates the endianness of the current build as a constexpr. More...
|
|
general configuration and logging
- Copyright
Copyright 2018 Infineon Technologies AG
This file is part of ETISS tool, see https://github.com/tum-ei-eda/etiss.
The initial version of this software has been created with the funding support by the German Federal
Ministry of Education and Research (BMBF) in the project EffektiV under grant 01IS13022.
Redistribution and use in source and binary forms, with or without modification, are permitted
provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and
the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse
or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
- Author
- Marc Greim marc..nosp@m.grei.nosp@m.m@myt.nosp@m.um.d.nosp@m.e, Chair of Electronic Design Automation, TUM
- Date
- July 28, 2014
- Version
- 0.1
Definition in file Misc.h.