FOSSology  4.4.0
Open Source License Compliance by Open Source Software
cleanEntries.cc File Reference

Clean strings. More...

#include "cleanEntries.hpp"
#include <sstream>
#include <iterator>
Include dependency graph for cleanEntries.cc:

Go to the source code of this file.

Functions

string cleanGeneral (string::const_iterator sBegin, string::const_iterator sEnd)
 Trim space at beginning and end. More...
 

Detailed Description

Clean strings.

Todo:

rearrange copyright statments to try and put the holder first, followed by the rest of the statement, less copyright years.

skip "dnl "

Definition in file cleanEntries.cc.

Function Documentation

◆ cleanGeneral()

string cleanGeneral ( string::const_iterator  sBegin,
string::const_iterator  sEnd 
)

Trim space at beginning and end.

Since we already collapsed a sequence of spaces into one space, there can only be one space

Parameters
sBeginString begin
sEndString end
Returns
string Trimmed string

Definition at line 29 of file cleanEntries.cc.