WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
encoding.h File Reference
#include <map>
#include <set>
#include <string>
#include <string_view>
#include <memory>
#include "webcface-config.h"
Include dependency graph for encoding.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SharedString
 u8stringとstringとwstringをshared_ptrで持ち共有する More...
 
struct  SharedString::Hash
 

Namespaces

namespace  webcface
 
namespace  webcface::internal
 
namespace  webcface::encoding
 

Typedefs

template<typename T >
using StrMap1 = std::map< SharedString, T >
 
template<typename T >
using StrMap2 = StrMap1< StrMap1< T > >
 
using StrSet1 = std::set< SharedString >
 
using StrSet2 = StrMap1< StrSet1 >
 
using SharedString = webcface::SharedString
 
template<typename T >
using StrMap1 = webcface::StrMap1< T >
 
template<typename T >
using StrMap2 = webcface::StrMap2< T >
 
using StrSet1 = webcface::StrSet1
 
using StrSet2 = webcface::StrSet2
 

Functions

void usingUTF8 (bool flag)
 webcfaceが使用するエンコーディングを設定する
 
bool usingUTF8 ()
 webcfaceが使用するエンコーディングを取得する
 
std::wstring toWide (std::string_view name_ref)
 stringをwstringに変換する
 
std::string toNarrow (std::wstring_view name_ref)
 wstringをstringに変換する
 
bool usingUTF8 ()
 
void usingUTF8 (bool flag)
 
std::wstring toWide (std::string_view name_ref)
 
std::string toNarrow (std::wstring_view name)