1
/* This file is part of KDevelop
2
Copyright (C) 2003 Roberto Raggi <roberto@kdevelop.org>
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
License as published by the Free Software Foundation; either
7
version 2 of the License, or (at your option) any later version.
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Library General Public License for more details.
14
You should have received a copy of the GNU Library General Public License
15
along with this library; see the file COPYING.LIB. If not, write to
16
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
Boston, MA 02111-1307, USA.
21
#include <qdatastream.h>
29
data->startColumn = 0;
34
Tag::Tag( const Tag& source )
50
if( data->count != 1 )
58
t.data->id = data->id;
59
t.data->kind = data->kind;
60
t.data->flags = data->flags;
61
t.data->name = data->name;
62
t.data->scope = data->scope;
63
t.data->fileName = data->fileName;
64
t.data->startLine = data->startLine;
65
t.data->startColumn = data->startColumn;
66
t.data->endLine = data->endLine;
67
t.data->endColumn = data->endColumn;
68
t.data->attributes = data->attributes;
73
Tag& Tag::operator = ( const Tag& source )
84
void Tag::load( QDataStream& stream )
100
void Tag::store( QDataStream& stream ) const
116
QDataStream& operator << ( QDataStream& s, const Tag& t)
122
QDataStream& operator >> ( QDataStream& s, Tag& t )