Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
bvh::v2::StdOutputStream Class Reference

Stream adapter for standard library output streams.

Definition at line 53 of file stream.h.

Public Member Functions

 StdOutputStream (std::ostream &stream)
 
template<typename T >
bool write (const T &data)
 
- Public Member Functions inherited from bvh::v2::OutputStream
template<typename T >
bool write (const T &data)
 

Protected Member Functions

bool write_raw (const void *data, size_t size) override
 

Protected Attributes

std::ostream & stream_
 

#include <bvh/v2/stream.h>

Inheritance diagram for bvh::v2::StdOutputStream:
[legend]

Constructor & Destructor Documentation

◆ StdOutputStream()

bvh::v2::StdOutputStream::StdOutputStream ( std::ostream &  stream)
inline

Definition at line 55 of file stream.h.

Member Function Documentation

◆ write()

template<typename T >
bool bvh::v2::OutputStream::write ( const T &  data)
inline

Definition at line 28 of file stream.h.

◆ write_raw()

bool bvh::v2::StdOutputStream::write_raw ( const void *  data,
size_t  size 
)
inlineoverrideprotectedvirtual

Implements bvh::v2::OutputStream.

Definition at line 64 of file stream.h.

Member Data Documentation

◆ stream_

std::ostream& bvh::v2::StdOutputStream::stream_
protected

Definition at line 62 of file stream.h.

  • geom/geom/inc/bvh/v2/stream.h