|
typedef std::map< char, std::string > | Map |
|
|
| NameFormat (std::string specification) |
|
std::string | specification () const |
|
void | set_specification (std::string specification) |
|
std::string | get (Map, std::string suffix, std::string ignore="") const |
|
|
std::string | _specification |
|
Definition at line 53 of file name_format.h.
◆ get()
string NameFormat::get |
( |
Map |
values, |
|
|
std::string |
suffix, |
|
|
std::string |
ignore = "" |
|
) |
| const |
- Parameters
-
values | Values to replace our specifications with; e.g. if the specification contains c it will be be replaced with the value corresponding to the key 'c'. |
suffix | Suffix to add on after processing the specification. |
ignore | Any specification characters in this string will not be replaced, but left as-is. |
Definition at line 77 of file name_format.cc.
The documentation for this class was generated from the following files: