neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::format_result Struct Reference

#include <string_utils.hpp>

Classes

struct  formatted_arg
 

Public Types

typedef std::vector< formatted_argarg_list
 

Public Member Functions

arg_list::const_iterator find_arg (std::size_t aArgIndex) const
 
bool has_arg (std::size_t aArgIndex) const
 
std::string_view arg_span (std::size_t aArgIndex) const
 
arg_list::const_iterator arg_spanning (std::ptrdiff_t aPos) const
 
arg_list::const_iterator arg_after (std::ptrdiff_t aPos) const
 

Public Attributes

std::string text
 
arg_list args
 

Detailed Description

Definition at line 486 of file string_utils.hpp.

Member Typedef Documentation

◆ arg_list

Definition at line 496 of file string_utils.hpp.

Member Function Documentation

◆ arg_after()

arg_list::const_iterator neolib::format_result::arg_after ( std::ptrdiff_t  aPos) const
inline

Definition at line 520 of file string_utils.hpp.

◆ arg_span()

std::string_view neolib::format_result::arg_span ( std::size_t  aArgIndex) const
inline

Definition at line 509 of file string_utils.hpp.

◆ arg_spanning()

arg_list::const_iterator neolib::format_result::arg_spanning ( std::ptrdiff_t  aPos) const
inline

Definition at line 516 of file string_utils.hpp.

◆ find_arg()

arg_list::const_iterator neolib::format_result::find_arg ( std::size_t  aArgIndex) const
inline

Definition at line 501 of file string_utils.hpp.

◆ has_arg()

bool neolib::format_result::has_arg ( std::size_t  aArgIndex) const
inline

Definition at line 505 of file string_utils.hpp.

Member Data Documentation

◆ args

arg_list neolib::format_result::args

Definition at line 499 of file string_utils.hpp.

◆ text

std::string neolib::format_result::text

Definition at line 498 of file string_utils.hpp.


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