Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
Loading...
Searching...
No Matches
raw_string_transcoder Class Reference

#include <couchbase/codec/raw_string_transcoder.hxx>

Public Types

using document_type = std::string
 

Static Public Member Functions

static auto encode (document_type document) -> encoded_value
 
template<typename Document = document_type, std::enable_if_t< std::is_same_v< Document, document_type >, bool > = true>
static auto decode (const encoded_value &encoded) -> Document
 

Member Typedef Documentation

◆ document_type

using document_type = std::string

Member Function Documentation

◆ decode()

template<typename Document = document_type, std::enable_if_t< std::is_same_v< Document, document_type >, bool > = true>
static auto decode ( const encoded_value & encoded) -> Document
inlinestatic

◆ encode()

static auto encode ( document_type document) -> encoded_value
inlinestatic

The documentation for this class was generated from the following file: