tag.cpp File Reference

#include <hn/hnprec.h>
#include "tag.h"
#include <hn/utils.h>
#include <hn/log.h>

Go to the source code of this file.


static const std::string TRACE_TAG ("trace-tag")
 Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net>.
std::ostream & operator<< (std::ostream &o, const Tag &t)
void warnUnHandled (const std::string &loc, const Tag &t)

Function Documentation

static const std::string TRACE_TAG "trace-tag"   )  [static]

Copyright (C) 2004-2005 Alo Sarv <madcat_@users.sourceforge.net>.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Referenced by Tag::Tag().

std::ostream& operator<< std::ostream &  o,
const Tag t

Definition at line 104 of file tag.cpp.

void warnUnHandled const std::string &  loc,
const Tag t

loc Location where the tag was found, e.g. "server.met"
t The unhandled tag itself.

Definition at line 177 of file tag.cpp.

Referenced by ED2KPacket::SearchResult::SearchResult(), Detail::Server::Server(), and ED2KPacket::ServerIdent::ServerIdent().