1/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is distributed on an "AS IS" BASIS,
11WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14==============================================================================*/
15
16#ifndef TENSORFLOW_CORE_PLATFORM_STR_UTIL_H_
17#define TENSORFLOW_CORE_PLATFORM_STR_UTIL_H_
18
19#include <string>
20#include <vector>
21
22#include "tensorflow/core/platform/macros.h"
23#include "tensorflow/core/platform/stringpiece.h"
24#include "tensorflow/core/platform/types.h"
25#include "tensorflow/tsl/platform/str_util.h"
26
27// Basic string utility routines
28namespace tensorflow {
29namespace str_util {
30// NOLINTBEGIN(misc-unused-using-decls)
31using tsl::str_util::AllowEmpty;
32using tsl::str_util::ArgDefCase;
33using tsl::str_util::CEscape;
34using tsl::str_util::ConsumeLeadingDigits;
35using tsl::str_util::ConsumeNonWhitespace;
36using tsl::str_util::ConsumePrefix;
37using tsl::str_util::ConsumeSuffix;
38using tsl::str_util::CUnescape;
39using tsl::str_util::EndsWith;
40using tsl::str_util::Join;
41using tsl::str_util::Lowercase;
42using tsl::str_util::RemoveLeadingWhitespace;
43using tsl::str_util::RemoveTrailingWhitespace;
44using tsl::str_util::RemoveWhitespaceContext;
45using tsl::str_util::SkipEmpty;
46using tsl::str_util::SkipWhitespace;
47using tsl::str_util::Split;
48using tsl::str_util::StartsWith;
49using tsl::str_util::StrContains;
50using tsl::str_util::StringReplace;
51using tsl::str_util::StripPrefix;
52using tsl::str_util::StripSuffix;
53using tsl::str_util::StripTrailingWhitespace;
54using tsl::str_util::Strnlen;
55using tsl::str_util::TitlecaseString;
56using tsl::str_util::Uppercase;
57// NOLINTEND(misc-unused-using-decls)
58} // namespace str_util
59} // namespace tensorflow
60
61#endif // TENSORFLOW_CORE_PLATFORM_STR_UTIL_H_
62