OnixS C++ CME MDP Conflated TCP Handler  1.2.1
API Documentation
StrRef.h File Reference
#include <OnixS/CME/ConflatedTCP/ABI.h>
#include <OnixS/CME/ConflatedTCP/messaging/Aliases.h>
#include <OnixS/CME/ConflatedTCP/messaging/String.h>
#include <OnixS/CME/ConflatedTCP/messaging/Utils.h>
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <cstring>
#include <limits>
#include <ostream>
#include <stdexcept>
#include <string>
#include <string_view>

Go to the source code of this file.

Namespaces

 OnixS
 
 OnixS::CME
 
 OnixS::CME::ConflatedTCP
 
 OnixS::CME::ConflatedTCP::Messaging
 

Typedefs

using StrRef = std::basic_string_view< Char >
 

Functions

StrRef toStrRef (const std::string &str)
 
StrRef toStrRef (const Char *cStr) ONIXS_CONFLATEDTCP_NOEXCEPT
 
template<size_t Size>
constexpr StrRef constructStrRef (const char(&value)[Size]) noexcept
 
template<size_t Size>
constexpr StrRef strRefFromCharArray (const char(&value)[Size]) noexcept
 
std::string toStr (const StrRef &ref)
 
void toStr (std::string &str, const StrRef &ref)