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

#include <container_logging.h>

Inheritance diagram for gtl::LogMultilineUpToN:
gtl::internal::LogMultilineBase gtl::internal::LogBase gtl::LogMultilineUpTo100

Public Member Functions

 LogMultilineUpToN (int64_t max_elements)
 
int64_t MaxElements () const
 
- Public Member Functions inherited from gtl::internal::LogMultilineBase
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

LogMultilineUpToN(max_elements) formats the same as LogMultiline but prints no more than max_elements elements.

Definition at line 142 of file container_logging.h.

Constructor & Destructor Documentation

◆ LogMultilineUpToN()

gtl::LogMultilineUpToN::LogMultilineUpToN ( int64_t max_elements)
inlineexplicit

Definition at line 144 of file container_logging.h.

Member Function Documentation

◆ MaxElements()

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

Definition at line 146 of file container_logging.h.


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