Skip to content

Commit

Permalink
Tidy comments and superfluous includes
Browse files Browse the repository at this point in the history
This tidies up after cfbb4ef
  • Loading branch information
tonyelewis committed Aug 26, 2015
1 parent 8fc3709 commit 2000d05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 27 deletions.
28 changes: 3 additions & 25 deletions source/file/data_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,40 +20,18 @@

#include "data_file.h"

//#include <boost/algorithm/string/case_conv.hpp>
//#include <boost/algorithm/string/classification.hpp>
//#include <boost/algorithm/string/join.hpp>
//#include <boost/algorithm/string/replace.hpp>
//#include <boost/algorithm/string/split.hpp>
#include <boost/lexical_cast.hpp>
//#include <boost/optional.hpp>
#include <boost/range/adaptor/transformed.hpp>
#include <boost/range/algorithm/max_element.hpp>

//#include "common/algorithm/contains.h"
//#include "common/boost_addenda/string_algorithm/split_build.h"
//#include "common/c++14/make_unique.h"
//#include "common/clone/make_uptr_clone.h"
#include "exception/invalid_argument_exception.h"
//#include "exception/runtime_error_exception.h"

//using namespace boost::algorithm;
//using namespace boost::filesystem;
//using namespace boost::program_options;
//using namespace cath;
using namespace cath::common;
using namespace cath::file;
//using namespace cath::opts::detail;
//using namespace cath::opts;
using namespace std;

using boost::adaptors::transformed;
//using boost::algorithm::is_any_of;
//using boost::algorithm::join;
//using boost::algorithm::replace_all_copy;
//using boost::algorithm::token_compress_on;
using boost::lexical_cast;
//using boost::none;
using boost::range::max_element;

/// \brief TODOCUMENT
Expand Down Expand Up @@ -92,15 +70,15 @@ ostream & cath::file::operator<<(ostream &arg_os, ///< The ostream
return arg_os;
}

/// \brief TODOCUMENT
/// \brief The length of the string representing the specified data_file
///
/// \relates data_file
size_t cath::file::str_length_of_data_file(const data_file &arg_data_file ///< TODOCUMENT
size_t cath::file::str_length_of_data_file(const data_file &arg_data_file ///< The data_file whose string length should be returned
) {
return to_string( arg_data_file ).length();
}

/// \brief TODOCUMENT
/// \brief The maximum length of the string representation of all data_file values
///
/// \relates data_file
size_t cath::file::max_data_file_str_length() {
Expand Down
2 changes: 0 additions & 2 deletions source/options/options_block/data_dirs_options_block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <boost/lexical_cast.hpp>
#include <boost/optional.hpp>
#include <boost/range/adaptor/transformed.hpp>
#include <boost/range/algorithm/max_element.hpp>

#include "common/algorithm/contains.h"
#include "common/boost_addenda/string_algorithm/split_build.h"
Expand Down Expand Up @@ -56,7 +55,6 @@ using boost::algorithm::replace_all_copy;
using boost::algorithm::token_compress_on;
using boost::lexical_cast;
using boost::none;
using boost::range::max_element;

/// \brief Default values of each of the options (path, prefix, suffix) for each of the file types
const data_dirs_options_block::file_option_str_map_map data_dirs_options_block::DATA_FILE_TYPE_OPTION_DEFAULTS = {
Expand Down

0 comments on commit 2000d05

Please sign in to comment.