MCPcopy Create free account
hub / github.com/Kitware/CMake / cmNewLineStyle

Class cmNewLineStyle

Source/cmNewLineStyle.h:10–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include <vector>
9
10class cmNewLineStyle
11{
12public:
13 cmNewLineStyle();
14
15 enum Style
16 {
17 Invalid,
18 // LF = '\n', 0x0A, 10
19 // CR = '\r', 0x0D, 13
20 LF, // Unix
21 CRLF // Dos
22 };
23
24 void SetStyle(Style);
25 Style GetStyle() const;
26
27 bool IsValid() const;
28
29 bool ReadFromArguments(std::vector<std::string> const& args,
30 std::string& errorString);
31
32 std::string GetCharacters() const;
33
34private:
35 Style NewLineStyle = Invalid;
36};

Callers 2

cmNewLineStyle.cxxFile · 0.85
cmMakefileClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…