WPILibC++ 2024.3.2
raw_ostream.h File Reference
#include "wpi/SmallVector.h"
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <system_error>
#include <type_traits>
#include <vector>

Go to the source code of this file.

Classes

class  wpi::raw_ostream
 This class implements an extremely fast bulk output stream that can only output to a stream. More...
 
class  wpi::raw_pwrite_stream
 An abstract base class for streams implementations that also support a pwrite operation. More...
 
class  wpi::raw_fd_ostream
 A raw_ostream that writes to a file descriptor. More...
 
class  wpi::raw_fd_stream
 A raw_ostream of a file for reading/writing/seeking. More...
 
class  wpi::raw_string_ostream
 A raw_ostream that writes to an std::string. More...
 
class  wpi::raw_svector_ostream
 A raw_ostream that writes to an SmallVector or SmallString. More...
 
class  wpi::raw_vector_ostream
 A raw_ostream that writes to a vector. More...
 
class  wpi::raw_usvector_ostream
 A raw_ostream that writes to an SmallVector or SmallString. More...
 
class  wpi::raw_uvector_ostream
 A raw_ostream that writes to a vector. More...
 
class  wpi::raw_null_ostream
 A raw_ostream that discards all output. More...
 
class  wpi::buffer_ostream
 
class  wpi::buffer_unique_ostream
 

Namespaces

namespace  fs
 
namespace  wpi
 

Functions

template<typename OStream , typename T >
std::enable_if_t<!std::is_reference_v< OStream > &&std::is_base_of_v< raw_ostream, OStream >, OStream && > wpi::operator<< (OStream &&OS, const T &Value)
 Call the appropriate insertion operator, given an rvalue reference to a raw_ostream object and return a stream of the same type as the argument. More...
 
raw_fd_ostream & wpi::outs ()
 This returns a reference to a raw_fd_ostream for standard output. More...
 
raw_fd_ostream & wpi::errs ()
 This returns a reference to a raw_ostream for standard error. More...
 
raw_ostream & wpi::nulls ()
 This returns a reference to a raw_ostream which simply discards output. More...