irccd  3.0.3
Public Attributes | List of all members
irccd::string_util::subst Class Reference

Used for format() function. More...

#include <string_util.hpp>

Public Attributes

subst_flags flags
 
std::time_t time {std::time(nullptr)}
 
std::unordered_map< std::string, std::string > keywords
 

Detailed Description

Used for format() function.

Member Data Documentation

◆ flags

subst_flags irccd::string_util::subst::flags
Initial value:

Flags for selecting templates.

◆ keywords

std::unordered_map<std::string, std::string> irccd::string_util::subst::keywords

Fill that map if you want to replace keywords.

◆ time

std::time_t irccd::string_util::subst::time {std::time(nullptr)}

Fill that field if you want a date.


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