Compound list   File list   Header files   Compound Members   File Members  

qaregexprange.hpp

This is the verbatim text of the qaregexprange.hpp include file.
// 
// $Id: qaregexprange.hpp,v 1.2 1999/07/19 02:36:55 amos Exp $
//
// Definition of QaRegExpRange class
//
// Jan Borsodi <amos@ez.no>
// Created on: <15-Jul-1999 13:42:58 amos>
//

#ifndef QAREGEXPRANGE_HPP
#define QAREGEXPRANGE_HPP

#include <qstring.h>

class QaRegExpRange
{
public:
    QaRegExpRange();
    QaRegExpRange( int soffs, int eoffs );
    ~QaRegExpRange();

    int start() const;
    int end() const;
    int length() const;
    void setStart( int s );
    void setEnd( int e );

    QString stringRange( const QString &s ) const;

    QaRegExpRange &operator +=( int i );
    QaRegExpRange &operator -=( int i );

private:
    int Start, End;
};


#endif // QAREGEXPRANGE_HPP

Generated at Mon Aug 16 02:11:02 1999 for QaRegExp by doxygen  written by Dimitri van Heesch, © 1997-1998