2010-11-30 10:56:44 +00:00
|
|
|
// Copyright 2010 Google
|
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
|
//
|
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
//
|
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
|
// limitations under the License.
|
|
|
|
|
|
2011-05-11 16:05:15 +00:00
|
|
|
#ifndef OR_TOOLS_BASE_STRINGPRINTF_H_
|
|
|
|
|
#define OR_TOOLS_BASE_STRINGPRINTF_H_
|
2010-09-15 12:42:33 +00:00
|
|
|
|
2010-11-30 09:26:37 +00:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
#include "base/stringpiece.h"
|
2010-09-15 12:42:33 +00:00
|
|
|
|
|
|
|
|
namespace operations_research {
|
2011-05-17 20:38:55 +00:00
|
|
|
std::string StringPrintf(const char* const format, ...);
|
|
|
|
|
void SStringPrintf(std::string* const dst, const char* const format, ...);
|
|
|
|
|
void StringAppendF(std::string* const dst, const char* const format, ...);
|
2010-09-15 12:42:33 +00:00
|
|
|
} // namespace operations_research
|
2011-05-11 16:05:15 +00:00
|
|
|
#endif // OR_TOOLS_BASE_STRINGPRINTF_H_
|