Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
case.h File Reference
#include <strings.h>
#include <cstddef>
#include <cstring>
#include <functional>
#include <ostream>
#include <string>
#include "absl/base/attributes.h"
#include "absl/base/macros.h"
#include "absl/base/port.h"
#include "absl/strings/ascii.h"
#include "absl/strings/string_view.h"

Go to the source code of this file.

Classes

struct  strings::AsciiCaseInsensitiveLess
 
struct  strings::AsciiCaseInsensitiveHash
 
struct  strings::AsciiCaseInsensitiveEq
 

Namespaces

namespace  strings
 #include "ortools/base/logging.h"
 

Enumerations

enum class  strings::AsciiCapitalizationType {
  strings::kLower , strings::kUpper , strings::kFirst , strings::kMixed ,
  strings::kNoAlpha
}
 Enum values returned by GetAsciiCapitalization(). More...
 

Functions

std::ostream & strings::operator<< (std::ostream &os, const AsciiCapitalizationType &type)
 Prints the name of an enum value.
 
AsciiCapitalizationType strings::GetAsciiCapitalization (const absl::string_view input)
 
int strings::AsciiCaseInsensitiveCompare (absl::string_view s1, absl::string_view s2)
 
void strings::MakeAsciiTitlecase (std::string *s, absl::string_view delimiters)
 
std::string strings::MakeAsciiTitlecase (absl::string_view s, absl::string_view delimiters)
 As above but with string_view as input.