ipfs-chromium
Public Member Functions | Public Attributes | List of all members
ipfs::SlashDelimited Struct Reference

#include <library/include/vocab/slash_delimited.h>

Collaboration diagram for ipfs::SlashDelimited:
Collaboration graph
[legend]

Public Member Functions

 SlashDelimited (std::string_view unowned)
 
 operator bool () const
 
std::string_view pop ()
 
std::string_view pop_all ()
 
std::string_view pop_n (std::size_t)
 
std::string_view peek_back () const
 
std::string pop_back ()
 
std::string to_string () const
 
std::string_view to_view () const
 

Public Attributes

std::string_view remainder_
 

Detailed Description

A block of ASCII text that is /-delimited, which one may want to split on /

Constructor & Destructor Documentation

◆ SlashDelimited()

ipfs::SlashDelimited::SlashDelimited ( std::string_view  unowned)
explicit
Parameters
unownedText to parse into /-delimited components

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