parse_filename.h File Reference

#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.

Data Structures

struct  parsed_filename

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)

Detailed Description

Split a sample filename into its constituent parts

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

Definition in file parse_filename.h.


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 8 Nov 2012 for Oprofile by  doxygen 1.6.1