PrevUpHomeNext

Class template symbol_info

boost::call_stack::symbol_info

Synopsis

// In header: <boost/call_stack/symbol.hpp>

template<typename AddrResolver, typename OutputFormatter> 
class symbol_info {
public:
  // types
  typedef AddrResolver    symbol_resolver_type; 
  typedef OutputFormatter symbol_formatter_type;

  // construct/copy/destruct
  symbol_info(const address_type & = null_address);
  template<typename T> symbol_info(const T &);
  template<typename T> symbol_info(const T *);
  symbol_info(const symbol_info &);
  symbol_info& operator=(symbol_info);

  // public member functions
  void swap(symbol_info &);
  std::string as_string() const;
};

Description

Binds together a symbol_resolver and a formatter for the symbol information.

Template Parameters

  1. typename AddrResolver

    See symbol_resolver

  2. typename OutputFormatter

    See terse_symbol_formatter, fancy_symbol_formatter

symbol_info public construct/copy/destruct

  1. symbol_info(const address_type & addr = null_address);
  2. template<typename T> symbol_info(const T & arg);

    Constructors on an arbitrary address of an object or a function. Not necessarily a good idea, use with care. The underlying platform resolver might be able to resolve the given address or not.

    See Also:

    addressof.

  3. template<typename T> symbol_info(const T * arg);
  4. symbol_info(const symbol_info & other);
  5. symbol_info& operator=(symbol_info other);

symbol_info public member functions

  1. void swap(symbol_info & other);
  2. std::string as_string() const;

PrevUpHomeNext