Function operator>>

Synopsis

#include <Source/Falcor/Utils/BinaryFileStream.h>

template <typename T>
BinaryFileStream & operator>>(T &val)

Description

Extracts a single value from the stream

Parameters

[ out ] val - Reference of value to extract into

Source

Lines 156-157 in Source/Falcor/Utils/BinaryFileStream.h.

template<typename T>
BinaryFileStream& operator>>(T& val) { return read(&val, sizeof(T)); }





Add Discussion as Guest

Log in