godot/thirdparty/embree/common/lexers/stream.h

// Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0

#pragma once

#include "../sys/platform.h"
#include "../sys/ref.h"
#include "../sys/filename.h"
#include "../sys/estring.h"

#include <vector>
#include <iostream>
#include <cstdio>
#include <string.h>

namespace embree
{
  /*! stores the location of a stream element in the source */
  class ParseLocation
  {};

  /*! a stream class templated over the stream elements */
  template<typename T> class Stream : public RefCount
  {};
  
  /*! warps an iostream stream */
  class StdStream : public Stream<int>
  {};

  /*! creates a stream from a file */
  class FileStream : public Stream<int>
  {};

  /*! creates a stream from a string */
  class StrStream : public Stream<int>
  {};

  /*! creates a character stream from a command line */
  class CommandLineStream : public Stream<int>
  {};
}