openMSX
|
#include "TemporaryString.hh"
#include "xrange.hh"
#include "zstring_view.hh"
#include <climits>
#include <cstring>
#include <limits>
#include <sstream>
#include <string>
#include <string_view>
#include <tuple>
#include <utility>
Go to the source code of this file.
Namespaces | |
strCatImpl | |
Typedefs | |
template<typename T > | |
using | strCatImpl::FastUnsigned = typename FastUnsignedImpl< T >::type |
Functions | |
template<typename... Ts> | |
std::string | strCat (Ts &&...ts) |
template<typename... Ts> | |
TemporaryString | tmpStrCat (Ts &&... ts) |
template<typename... Ts> | |
void | strAppend (std::string &result, Ts &&...ts) |
template<typename T > | |
auto | strCatImpl::makeConcatUnit (const T &t) |
auto | strCatImpl::makeConcatUnit (const std::string &s) |
auto | strCatImpl::makeConcatUnit (const char *s) |
auto | strCatImpl::makeConcatUnit (char *s) |
auto | strCatImpl::makeConcatUnit (const TemporaryString &s) |
auto | strCatImpl::makeConcatUnit (zstring_view s) |
auto | strCatImpl::makeConcatUnit (signed char c) |
auto | strCatImpl::makeConcatUnit (unsigned char c) |
auto | strCatImpl::makeConcatUnit (short s) |
auto | strCatImpl::makeConcatUnit (unsigned short s) |
auto | strCatImpl::makeConcatUnit (int i) |
auto | strCatImpl::makeConcatUnit (unsigned u) |
auto | strCatImpl::makeConcatUnit (long l) |
auto | strCatImpl::makeConcatUnit (unsigned long l) |
auto | strCatImpl::makeConcatUnit (long long l) |
auto | strCatImpl::makeConcatUnit (unsigned long long l) |
template<size_t N, typename T > | |
auto | strCatImpl::makeConcatUnit (const ConcatFixedWidthHexIntegral< N, T > &t) |
auto | strCatImpl::makeConcatUnit (const ConcatSpaces &t) |
template<typename Tuple , size_t... Is> | |
size_t | strCatImpl::calcTotalSizeHelper (const Tuple &t, std::index_sequence< Is... >) |
template<typename... Ts> | |
size_t | strCatImpl::calcTotalSize (const std::tuple< Ts... > &t) |
template<typename Tuple , size_t... Is> | |
void | strCatImpl::copyUnitsHelper (char *dst, const Tuple &t, std::index_sequence< Is... >) |
template<typename... Ts> | |
void | strCatImpl::copyUnits (char *dst, const std::tuple< Ts... > &t) |
template<typename T > | |
std::string | strCatImpl::to_string (T x) |
template<typename... Ts> | |
std::string | strCat (std::string &&first, Ts &&...ts) |
std::string | strCat () |
std::string | strCat (const std::string &x) |
std::string | strCat (std::string &&x) |
std::string | strCat (const char *x) |
std::string | strCat (char x) |
std::string | strCat (std::string_view x) |
std::string | strCat (signed char x) |
std::string | strCat (unsigned char x) |
std::string | strCat (short x) |
std::string | strCat (unsigned short x) |
std::string | strCat (int x) |
std::string | strCat (unsigned x) |
std::string | strCat (long x) |
std::string | strCat (unsigned long x) |
std::string | strCat (long long x) |
std::string | strCat (unsigned long long x) |
std::string | strCat (const std::string &x, const std::string &y) |
std::string | strCat (const char *x, const std::string &y) |
std::string | strCat (char x, const std::string &y) |
std::string | strCat (const std::string &x, const char *y) |
std::string | strCat (const std::string &x, char y) |
std::string | strCat (std::string &&x, const std::string &y) |
std::string | strCat (const std::string &x, std::string &&y) |
std::string | strCat (std::string &&x, std::string &&y) |
std::string | strCat (const char *x, std::string &&y) |
std::string | strCat (char x, std::string &&y) |
std::string | strCat (std::string &&x, const char *y) |
std::string | strCat (std::string &&x, char y) |
void | strAppend (std::string &) |
void | strAppend (std::string &x, const std::string &y) |
void | strAppend (std::string &x, const char *y) |
void | strAppend (std::string &x, std::string_view y) |
template<size_t N, typename T > | |
strCatImpl::ConcatFixedWidthHexIntegral< N, T > | hex_string (T t) |
strCatImpl::ConcatSpaces | spaces (size_t n) |
|
inline |
|
inline |
void strAppend | ( | std::string & | result, |
Ts &&... | ts | ||
) |
Definition at line 669 of file strCat.hh.
References strCatImpl::calcTotalSize(), strCatImpl::copyUnits(), strCatImpl::makeConcatUnit(), and t.
Referenced by openmsx::XmlInputArchive::beginTag(), openmsx::dasm(), openmsx::NowindCommand::execute(), openmsx::Version::full(), openmsx::Display::getWindowTitle(), openmsx::Rom::Rom(), openmsx::RomDatabase::RomDatabase(), strCat(), and openmsx::MSXDevice::testRemove().
|
inline |
Definition at line 690 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 689 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 691 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 632 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 648 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 655 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 631 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 647 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 654 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 629 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 650 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 649 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 646 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 652 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 639 of file strCat.hh.
References strCatImpl::to_string(), and openmsx::x.
|
inline |
Definition at line 643 of file strCat.hh.
References strCatImpl::to_string(), and openmsx::x.
|
inline |
Definition at line 641 of file strCat.hh.
References strCatImpl::to_string(), and openmsx::x.
|
inline |
Definition at line 637 of file strCat.hh.
References strCatImpl::to_string(), and openmsx::x.
|
inline |
Definition at line 635 of file strCat.hh.
References strCatImpl::to_string(), and openmsx::x.
std::string strCat | ( | std::string && | first, |
Ts &&... | ts | ||
) |
Definition at line 613 of file strCat.hh.
References strAppend().
|
inline |
Definition at line 630 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 657 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 656 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 651 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 653 of file strCat.hh.
References openmsx::x.
|
inline |
Definition at line 633 of file strCat.hh.
References openmsx::x.
std::string strCat | ( | Ts &&... | ts | ) |
Definition at line 591 of file strCat.hh.
References strCatImpl::calcTotalSize(), strCatImpl::copyUnits(), strCatImpl::makeConcatUnit(), utf8::unchecked::size(), and t.
Referenced by openmsx::configFileContext(), openmsx::NowindCommand::createDiskChanger(), openmsx::JoyTap::createPorts(), openmsx::dasm(), openmsx::Version::full(), openmsx::FileOperations::getNextNumberedFileName(), openmsx::MSXMotherBoard::getUserName(), openmsx::FileOperations::getUserOpenMSXDir(), openmsx::DiskCommand::help(), openmsx::CDXCommand::help(), openmsx::LSXCommand::help(), openmsx::ConfigInfo::help(), openmsx::FileOperations::join(), openmsx::FileOperations::parseCommandFileArgument(), openmsx::HardwareConfig::parseSlots(), openmsx::parseTclArgs(), openmsx::DiskManipulator::registerDrive(), openmsx::GlobalCommandController::tabCompletion(), openmsx::userDataFileContext(), and openmsx::userFileContext().
|
inline |
Definition at line 636 of file strCat.hh.
References strCatImpl::to_string(), and openmsx::x.
|
inline |
Definition at line 644 of file strCat.hh.
References strCatImpl::to_string(), and openmsx::x.
|
inline |
Definition at line 642 of file strCat.hh.
References strCatImpl::to_string(), and openmsx::x.
|
inline |
Definition at line 638 of file strCat.hh.
References strCatImpl::to_string(), and openmsx::x.
|
inline |
Definition at line 640 of file strCat.hh.
References strCatImpl::to_string(), and openmsx::x.
TemporaryString tmpStrCat | ( | Ts &&... | ts | ) |
Definition at line 659 of file strCat.hh.
References strCatImpl::calcTotalSize(), strCatImpl::copyUnits(), strCatImpl::makeConcatUnit(), utf8::unchecked::size(), and t.
Referenced by openmsx::XmlOutputArchive::attributeImpl(), openmsx::Interpreter::createNamespace(), openmsx::HardwareConfig::createRomConfig(), openmsx::Interpreter::deleteNamespace(), openmsx::DiskChanger::DiskChanger(), openmsx::DiskCommand::execute(), openmsx::HDCommand::execute(), openmsx::CDXCommand::execute(), openmsx::LSXCommand::execute(), openmsx::SettingsManager::findSetting(), openmsx::AfterCmd::getIdStr(), openmsx::IDEHD::IDEHD(), openmsx::MSXCPUInterface::insertBreakPoint(), TclParser::isProc(), openmsx::MsxChar2Unicode::MsxChar2Unicode(), openmsx::DiskImageCLI::parseFileType(), openmsx::CliComm::printError(), openmsx::CliComm::printInfo(), openmsx::CliComm::printProgress(), openmsx::CliComm::printWarning(), openmsx::MSXMixer::registerSound(), openmsx::MSXCPUInterface::removeBreakPoint(), openmsx::MSXCPUInterface::removeCondition(), openmsx::Debugger::removeProbeBreakPoint(), openmsx::MSXCPUInterface::removeWatchPoint(), openmsx::XmlOutputArchive::saveImpl(), openmsx::MSXCPUInterface::setCondition(), openmsx::BaseSetting::setPrefix(), openmsx::MSXCPUInterface::setWatchPoint(), openmsx::toTclList(), and openmsx::UnicodeKeymap::UnicodeKeymap().