boost.png (6897 bytes) Home Libraries People FAQ More

PrevUpHomeNext

Class sourcefile_property

boost::stacktrack::sourcefile_property — build info class, adds named property value to a sourcefile_info instance

Synopsis

#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
};

Description

This class provides a mechanism to add properties during static initialization. It's constructor simply forwards to sourcefile_info::add_property( ... )

sourcefile_property construct/copy/destruct

  1. sourcefile_property(sourcefile_info & info, const char * prop, 
                        const char * value);

    adds property to info

    Parameters

    info

    instance to which property will be added

    prop

    name of property

    value

    value for property

  2. sourcefile_property(sourcefile_info & info, const char * prop, int value);

    adds property to info

    Parameters

    info

    instance to which property will be added

    prop

    name of property

    value

    value for property

sourcefile_property public member functions

    Copyright © 2005 James Fowler

    PrevUpHomeNext