Skip to content

Commit 56dd6ee

Browse files
committed
renamed utils to lowercase to match other namespaces. Worked on added doxygen to read correct directories
1 parent 13d0d88 commit 56dd6ee

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

doc/Doxyfile.in

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ INPUT = @doxy_main_page@ \
66
@PROJECT_SOURCE_DIR@ \
77
@PROJECT_BINARY_DIR@
88
FILE_PATTERNS = *.h \
9-
*.cc
9+
*.hpp \
10+
*.cc \
11+
*.ccp
1012
RECURSIVE = YES
11-
USE_MDFILE_AS_MAINPAGE = @doxy_main_page@
13+
USE_MDFILE_AS_MAINPAGE = @doxy_main_page@
14+
15+
EXCLUDE_PATTERNS = */third_party/*
16+
EXCLUDE_PATTERNS += */test/*
17+
18+
HAVE_DOT = YES

src/dbc.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace libdbc {
2929
parse_dbc_header(s);
3030

3131
while(!s.eof()) {
32-
Utils::SafeString::get_line(s, line);
32+
utils::SafeString::get_line(s, line);
3333

3434
}
3535

@@ -48,7 +48,7 @@ namespace libdbc {
4848
std::string line;
4949
std::smatch match;
5050

51-
Utils::SafeString::get_line(file_stream, line);
51+
utils::SafeString::get_line(file_stream, line);
5252

5353
if(!std::regex_search(line, match, version_re)) {
5454
throw validity_error();

src/util/utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "util/utils.hpp"
22

3-
namespace Utils {
3+
namespace utils {
44

55
std::istream & SafeString::get_line( std::istream & stream, std::string & line ) {
66
std::string newline;

src/util/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <fstream>
33
#include <iostream>
44

5-
namespace Utils {
5+
namespace utils {
66

77
class SafeString {
88
public:

test/test_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include "defines.hpp"
33
#include "util/utils.hpp"
44

5-
using namespace Utils;
5+
using namespace utils;
66

77
TEST_CASE("Basic file input with safe get_line that is non line ending specific", "") {
88
SECTION("Verify various line ending input files") {

0 commit comments

Comments
 (0)