Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67203 - sandbox/configurator/boost/configurator/detail
From: for.dshevchenko_at_[hidden]
Date: 2010-12-13 02:00:14


Author: dshevchenko
Date: 2010-12-13 02:00:07 EST (Mon, 13 Dec 2010)
New Revision: 67203
URL: http://svn.boost.org/trac/boost/changeset/67203

Log:
Delete

Removed:
   sandbox/configurator/boost/configurator/detail/configurator_settings.hpp
Text files modified:
   sandbox/configurator/boost/configurator/detail/misc.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Deleted: sandbox/configurator/boost/configurator/detail/configurator_settings.hpp
==============================================================================
--- sandbox/configurator/boost/configurator/detail/configurator_settings.hpp 2010-12-13 02:00:07 EST (Mon, 13 Dec 2010)
+++ (empty file)
@@ -1,70 +0,0 @@
-// detail/configurator_settings.hpp
-// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-//
-// Copyright (C) 2010 Denis Shevchenko (for @ dshevchenko.biz)
-//
-// Distributed under the Boost Software License, version 1.0
-// (see http://www.boost.org/LICENSE_1_0.txt)
-
-#ifndef BOOST_CONFIGURATOR_SETTINGS_HPP
-#define BOOST_CONFIGURATOR_SETTINGS_HPP
-
-#include <boost/configurator/detail/types.hpp>
-#include <boost/configurator/detail/misc.hpp>
-
-#include <string>
-
-namespace boost {
-
-/// \namespace cf
-/// \brief Main namespace of library.
-namespace cf {
-
-/// \namespace cf::detail
-/// \brief Details of realization.
-namespace detail {
-
-///
-struct configurator_settings {
- configurator_settings() :
- option_name_value_separator( '=' )
- , option_name_value_separator_str( "=" )
- , one_line_comment_sign( "//" )
- , case_sensitivity( false ) {}
-public:
- char option_name_value_separator;
- std::string one_line_comment_sign;
- bool case_sensitivity;
- std::string option_name_value_separator_str;
- //
-public:
- configurator_settings& set_case_sensitivity_for_names() {
- case_sensitivity = true;
- return *this;
- }
-
- configurator_settings& set_name_value_separator( char separator ) {
- option_name_value_separator = separator;
- check_separator_validity();
- return *this;
- }
-private:
- void check_separator_validity() const {
- const int ascii_code = option_name_value_separator;
- if ( ascii_code < 0x20 ) {
- detail::o_stream what_happened;
- what_happened << "Symbol (ASCII-code is " << ascii_code
- << ") is not suitable for name-value separator!"
- ;
- notify( what_happened.str() );
- } else {}
- }
-public:
- //
-};
-
-} // namespace detail
-} // namespace cf
-} // namespace boost
-
-#endif // BOOST_CONFIGURATOR_SETTINGS_HPP

Modified: sandbox/configurator/boost/configurator/detail/misc.hpp
==============================================================================
--- sandbox/configurator/boost/configurator/detail/misc.hpp (original)
+++ sandbox/configurator/boost/configurator/detail/misc.hpp 2010-12-13 02:00:07 EST (Mon, 13 Dec 2010)
@@ -35,6 +35,10 @@
     std::cout << "[Configurator] " << warning_message << std::endl;
 }
 
+/// \namespace cf::detail
+/// \brief Details of realization.
+namespace detail {
+
 /// \enum value_semantic
 /// \brief Value semantic types (for check).
 enum value_semantic {
@@ -50,10 +54,6 @@
     , exp_record /*!< Exponential record semantics check. */
 };
 
-/// \namespace cf::detail
-/// \brief Details of realization.
-namespace detail {
-
 inline std::string sections_separator_for_log() { return " > "; }
 
 template


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk