parse_filename.h File Reference

Split a sample filename into its constituent parts. More...

#include <string>
Include dependency graph for parse_filename.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  parsed_filename
 a convenience class to store result of parse_filename() More...

Functions

std::ostream & operator<< (std::ostream &, parsed_filename const &)
 debugging helper
parsed_filename parse_filename (std::string const &filename, extra_images const &extra_found_images)
 parse a sample filename

Detailed Description

Split a sample filename into its constituent parts.

Remarks:
Copyright 2003 OProfile authors
Read the file COPYING
Author:
Philippe Elie

Function Documentation

std::ostream& operator<< ( std::ostream &  ,
parsed_filename const &   
)

debugging helper

parsed_filename parse_filename ( std::string const &  filename,
extra_images const &  extra_found_images 
)

parse a sample filename

Parameters:
filename in: a sample filename
extra_found_images binary image location

filename is split into constituent parts, the lib_image is optional and can be empty on successfull call. All other error are fatal. Filenames are encoded as according to PP:3.19 to PP:3.25

all errors throw an std::invalid_argument exception


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1