Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
container_logging.h File Reference
#include <cstdint>
#include <limits>
#include <ostream>
#include <sstream>
#include <string>
#include <type_traits>
#include "absl/base/port.h"

Go to the source code of this file.

Classes

struct  gtl::internal::LogBase
 
struct  gtl::internal::LogShortBase
 
struct  gtl::internal::LogMultilineBase
 
struct  gtl::internal::LogLegacyBase
 
struct  gtl::LogShort
 
class  gtl::LogShortUpToN
 
struct  gtl::LogShortUpTo100
 
struct  gtl::LogMultiline
 
class  gtl::LogMultilineUpToN
 
struct  gtl::LogMultilineUpTo100
 
struct  gtl::LogLegacyUpTo100
 
struct  gtl::LogLegacy
 
class  gtl::detail::RangeLogger< IteratorT, PolicyT >
 
class  gtl::detail::EnumLogger< E >
 

Namespaces

namespace  gtl
 
namespace  gtl::internal
 
namespace  gtl::detail
 

Typedefs

typedef LogShortUpTo100 gtl::LogDefault
 The default policy for new code.
 

Functions

template<typename IteratorT , typename PolicyT >
void gtl::LogRangeToStream (std::ostream &out, IteratorT begin, IteratorT end, const PolicyT &policy)
 
template<typename IteratorT , typename PolicyT >
detail::RangeLogger< IteratorT, PolicyT > gtl::LogRange (const IteratorT &begin, const IteratorT &end, const PolicyT &policy)
 
template<typename IteratorT >
detail::RangeLogger< IteratorT, LogDefaultgtl::LogRange (const IteratorT &begin, const IteratorT &end)
 
template<typename ContainerT , typename PolicyT >
auto gtl::LogContainer (const ContainerT &container, const PolicyT &policy) -> decltype(gtl::LogRange(container.begin(), container.end(), policy))
 
template<typename ContainerT >
auto gtl::LogContainer (const ContainerT &container) -> decltype(gtl::LogContainer(container, LogDefault()))
 
template<typename E >
detail::EnumLogger< E > gtl::LogEnum (E e)