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

PrevUpHomeNext

Class sourcefile_info

boost::stacktrack::sourcefile_info — build info class, holds filename and properties for a source file

Synopsis

#include <boost/stacktrack/location.hpp>

using namespace boost::stacktrack;

class sourcefile_info {
public:
  // construct/copy/destruct
  sourcefile_info(const char *);

  // public member functions
  void add_property(const char *, const char *) ;
  void add_property(const char *, int) ;
};

Description

sourcefile_info construct/copy/destruct

  1. sourcefile_info(const char * filename);

    create info point for file

    Parameters

    filename

    name of the file

sourcefile_info public member functions

  1. void add_property(const char * prop, const char * val) ;

    attach named value

    Parameters

    prop

    name of property

    val

    value for property

  2. void add_property(const char * prop, int val) ;

    attach named value

    Parameters

    prop

    name of property

    val

    value for property

Copyright © 2005 James Fowler

PrevUpHomeNext