![]() |
Home | Libraries | People | FAQ | More |
boost::stacktrack::sourcefile_property — build info class, adds named property value to a sourcefile_info instance
#include <boost/stacktrack/location.hpp> using namespace boost::stacktrack; class sourcefile_property { public: // construct/copy/destruct sourcefile_property(sourcefile_info &, const char *, const char *); sourcefile_property(sourcefile_info &, const char *, int); // public member functions };
This class provides a mechanism to add properties during static initialization. It's constructor simply forwards to sourcefile_info::add_property( ... )
sourcefile_property(sourcefile_info & info, const char * prop, const char * value);
adds property to info
Parameters
instance to which property will be added
name of property
value for property
sourcefile_property(sourcefile_info & info, const char * prop, int value);
adds property to info
Parameters
instance to which property will be added
name of property
value for property
| Copyright © 2005 James Fowler |