![]() |
Home | Libraries | People | FAQ | More |
boost::stacktrack::sourcefile — utility class to access a sourcefile_impl
#include <boost/stacktrack/location.hpp> using namespace boost::stacktrack; class sourcefile { public: // construct/copy/destruct sourcefile(int); sourcefile(const char *); ~sourcefile(); // public member functions sourcefile_impl * operator->() ; std::string filename() const; int filenumber() const; };
sourcefile(int filenumber);
create a handle for a given file number
Parameters
id for an existing file
sourcefile(const char * filename);
Parameters
for handle - if there is already a sourcefile_impl for the given name then attach to it, otherwise create a new sourcefile_impl for the specified filename
~sourcefile();
| Copyright © 2005 James Fowler |