class Poco::EOFToken

Overview

This token class is used to signal the end of the input stream. Moreā€¦

#include <Token.h>

class EOFToken: public Poco::Token
{
public:
    // methods

    virtual
    Class
    tokenClass() const;
};

Inherited Members

public:
    // enums

    enum Class;

    // methods

    virtual
    bool
    start(
        char c,
        std::istream& istr
        );

    virtual
    void
    finish(std::istream& istr);

    virtual
    Class
    tokenClass() const;

    const std::string&
    tokenString() const;

    virtual
    std::string
    asString() const;

    virtual
    int
    asInteger() const;

    virtual
    unsigned
    asUnsignedInteger() const;

    virtual
    double
    asFloat() const;

    virtual
    char
    asChar() const;

    bool
    is(Class tokenClass) const;

protected:
    // fields

    std::string _value;

Detailed Documentation

This token class is used to signal the end of the input stream.

Methods

virtual
Class
tokenClass() const

Returns the kind of the token.