filename_spec Class Reference
A class to split and store components of a sample filename.
More...
#include <filename_spec.h>
List of all members.
Detailed Description
A class to split and store components of a sample filename.
These derived values are then used to match against a profile_spec as given by the user.
Constructor & Destructor Documentation
| filename_spec::filename_spec |
( |
std::string const & |
filename, |
|
|
extra_images const & |
extra | |
|
) |
| | |
- Parameters:
-
| filename | the samples filename |
| extra | extra binary image location |
build a filename_spec from a samples filename
| filename_spec::filename_spec |
( |
|
) |
|
Member Function Documentation
| bool filename_spec::is_dependent |
( |
|
) |
const |
| bool filename_spec::match |
( |
filename_spec const & |
rhs, |
|
|
std::string const & |
binary | |
|
) |
| | const |
- Parameters:
-
| rhs | right hand side of the match operator |
| binary | if binary is non-empty, and matches the binary or lib name, use it rather than the one in rhs. |
return true if *this match rhs, matching if:
- image_name are identical
- lib_name are identical
- event_spec match
This operation is not commutative. First part of PP:3.24
| void filename_spec::set_sample_filename |
( |
std::string const & |
filename, |
|
|
extra_images const & |
extra | |
|
) |
| | |
- Parameters:
-
| filename | a sample filename |
| extra | extra binary image location |
setup filename spec according to the samples filename. PP:3.19 to 3.25
Friends And Related Function Documentation
The documentation for this class was generated from the following files: