Boost C++ LibrariesSourceForge.net Logo

PrevUpHomeNext

Attributes

Header <boost/log/attributes/attribute.hpp>
Header <boost/log/attributes/attribute_set.hpp>
Header <boost/log/attributes/attribute_values_view.hpp>
Header <boost/log/attributes/basic_attribute_value.hpp>
Header <boost/log/attributes/clock.hpp>
Header <boost/log/attributes/constant.hpp>
Header <boost/log/attributes/counter.hpp>
Header <boost/log/attributes/current_process_id.hpp>
Header <boost/log/attributes/current_thread_id.hpp>
Header <boost/log/attributes/functor.hpp>
Header <boost/log/attributes/mutable_constant.hpp>
Header <boost/log/attributes/named_scope.hpp>
Header <boost/log/attributes/time_traits.hpp>
Header <boost/log/attributes/timer.hpp>

Andrey Semashev

15.04.2007

The header contains attribute and attribute_value interfaces definition.


BOOST_LOG_ATTRIBUTE_HPP_INCLUDED_
namespace boost {
  namespace log {
    struct attribute_value;
    struct attribute;
  }
}

Andrey Semashev

08.03.2007

This header contains definition of the attribute set container.


BOOST_LOG_ATTRIBUTE_SET_HPP_INCLUDED_
namespace boost {
  namespace log {
    template<typename CharT> class basic_attribute_set;

    typedef basic_attribute_set< char > attribute_set;  // Convenience typedef for narrow-character logging. 
    typedef basic_attribute_set< wchar_t > wattribute_set;  // Convenience typedef for wide-character logging. 
    template<typename CharT> 
      void swap(basic_attribute_set< CharT > &, 
                basic_attribute_set< CharT > &);
  }
}

Andrey Semashev

21.04.2007

This header file contains definition of attribute values view. The view is constructed from three attribute sets (global, thread-specific and source-specific) and contains attribute values.


BOOST_LOG_ATTRIBUTE_VALUES_VIEW_HPP_INCLUDED_
namespace boost {
  namespace log {
    template<typename CharT> class basic_attribute_values_view;

    typedef basic_attribute_values_view< char > attribute_values_view;  // Convenience typedef for narrow-character logging. 
    typedef basic_attribute_values_view< wchar_t > wattribute_values_view;  // Convenience typedef for wide-character logging. 
    template<typename CharT> 
      void swap(basic_attribute_values_view< CharT > &, 
                basic_attribute_values_view< CharT > &);
  }
}

Andrey Semashev

24.06.2007

The header contains an implementation of an attribute value base class.


BOOST_LOG_ATTRIBUTES_BASIC_ATTRIBUTE_VALUE_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace attributes {
      template<typename T> class basic_attribute_value;
    }
  }
}

Andrey Semashev

01.12.2007

The header contains wall clock attribute implementation and typedefs.


BOOST_LOG_ATTRIBUTES_CLOCK_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace attributes {
      template<typename TimeTraitsT> class basic_clock;

      typedef basic_clock< utc_time_traits > utc_clock;  // Attribute that returns current UTC time. 
      typedef basic_clock< local_time_traits > local_clock;  // Attribute that returns current local time. 
    }
  }
}

Andrey Semashev

15.04.2007

The header contains implementation of a constant attribute.


BOOST_LOG_ATTRIBUTES_CONSTANT_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace attributes {
      template<typename T> class constant;
    }
  }
}

Andrey Semashev

01.05.2007

The header contains implementation of the counter attribute.


BOOST_LOG_ATTRIBUTES_COUNTER_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace attributes {
      template<typename T> class counter;
    }
  }
}

Andrey Semashev

12.09.2009

The header contains implementation of a current process id attribute


BOOST_LOG_ATTRIBUTES_CURRENT_PROCESS_ID_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace attributes {
      class current_process_id;
    }
  }
}

Andrey Semashev

12.09.2009

The header contains implementation of a current thread id attribute


BOOST_LOG_ATTRIBUTES_CURRENT_THREAD_ID_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace attributes {
      class current_thread_id;
    }
  }
}

Andrey Semashev

24.06.2007

The header contains implementation of an attribute that calls a third-party function on value acquirement.


BOOST_LOG_ATTRIBUTES_FUNCTOR_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace attributes {
      template<typename T> 
        shared_ptr< attribute > make_functor_attr(T const &);
    }
  }
}

Andrey Semashev

06.11.2007

The header contains implementation of a mutable constant attribute.


BOOST_LOG_ATTRIBUTES_MUTABLE_CONSTANT_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace attributes {
      template<typename T, typename MutexT = void, 
               typename ScopedWriteLockT = void, 
               typename ScopedReadLockT = ScopedWriteLockT> 
        class mutable_constant;

      template<typename T> class mutable_constant<T, void, void, void>;
    }
  }
}

Andrey Semashev

24.06.2007

The header contains implementation of named scope container and an attribute that allows to put the named scope to log. A number of convenience macros are also provided.


BOOST_LOG_ATTRIBUTES_NAMED_SCOPE_HPP_INCLUDED_
BOOST_LOG_NAMED_SCOPE_INTERNAL(char_type, var, name, file, line)
namespace boost {
  namespace log {
    namespace attributes {
      template<typename CharT> struct basic_named_scope_entry;

      template<typename CharT> class basic_named_scope_list;
      template<typename CharT> class basic_named_scope;
      template<typename CharT, typename TraitsT> 
        std::basic_ostream< CharT, TraitsT > & 
        operator<<(std::basic_ostream< CharT, TraitsT > &, 
                   basic_named_scope_list< CharT > const &);
    }
  }
}

Andrey Semashev

01.12.2007

The header contains implementation of time traits that are used in various parts of the library to acquire current time.


BOOST_LOG_ATTRIBUTES_TIME_TRAITS_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace attributes {
      struct basic_time_traits;
      struct utc_time_traits;
      struct local_time_traits;
    }
  }
}

Andrey Semashev

02.12.2007

The header contains implementation of a stop watch attribute.


BOOST_LOG_ATTRIBUTES_TIMER_HPP_INCLUDED_
namespace boost {
  namespace log {
    namespace attributes {
      class timer;
    }
  }
}

PrevUpHomeNext