/usr/include/yacas/stringio.h is in yacas 1.3.6-2+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | /** \file stringio.h
* definitions of input output classes that read and write from string.
*/
#ifndef YACAS_STRINGIO_H
#define YACAS_STRINGIO_H
#include "yacasbase.h"
#include "lispio.h"
#include "lispstring.h"
class StringInput : public LispInput
{
public:
StringInput(const std::string& aString, InputStatus& aStatus);
virtual LispChar Next();
virtual LispChar Peek();
virtual bool EndOfStream() const;
virtual const LispChar* StartPtr();
virtual std::size_t Position() const;
virtual void SetPosition(std::size_t aPosition);
protected:
std::string iString;
std::size_t iCurrent;
};
#endif
|