class Poco::InvalidToken

Overview

This token class is used for signalling that an invalid character sequence has been encountered in the input stream. Moreā€¦

#include <Token.h>

class InvalidToken: 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 for signalling that an invalid character sequence has been encountered in the input stream.

Methods

virtual
Class
tokenClass() const

Returns the kind of the token.