Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
gtl::LogShortUpToN Class Reference

#include <container_logging.h>

Inheritance diagram for gtl::LogShortUpToN:
gtl::internal::LogShortBase gtl::internal::LogBase gtl::LogShortUpTo100

Public Member Functions

 LogShortUpToN (int64_t max_elements)
 
int64_t MaxElements () const
 
- Public Member Functions inherited from gtl::internal::LogShortBase
void LogOpening (std::ostream &out) const
 
void LogClosing (std::ostream &out) const
 
void LogFirstSeparator (std::ostream &out) const
 
void LogSeparator (std::ostream &out) const
 
- Public Member Functions inherited from gtl::internal::LogBase
template<typename ElementT >
void Log (std::ostream &out, const ElementT &element) const
 
void LogEllipsis (std::ostream &out) const
 

Detailed Description

LogShortUpToN(max_elements) formats the same as LogShort but prints no more than the max_elements elements.

Definition at line 115 of file container_logging.h.

Constructor & Destructor Documentation

◆ LogShortUpToN()

gtl::LogShortUpToN::LogShortUpToN ( int64_t max_elements)
inlineexplicit

Definition at line 117 of file container_logging.h.

Member Function Documentation

◆ MaxElements()

int64_t gtl::LogShortUpToN::MaxElements ( ) const
inline

Definition at line 118 of file container_logging.h.


The documentation for this class was generated from the following file: