mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
* Doxyfile, client/define_world.cpp, client/define_world.h, common/CustomOp.cpp, common/CustomOp.h, common/CustomOp_impl.h, common/Load.h, common/Save.h, common/inheritance_impl.h, common/operations.h, common/refno.h, common/utility.cpp, common/utility.h, rulesets/Combat.h, rulesets/Entity_getLocation.h, rulesets/Fell.h, rulesets/MemMap_methods.h, rulesets/Py_Optime.cpp, rulesets/Py_Optime.h, rulesets/ThingFactory.h, server/CommIdleSocket.h, server/ServerRouting_methods.h, tools/Formatter.cpp, tools/Formatter.h, tools/cydbload.cpp, tools/cyisoload.cpp: Make doxygen skip code that has been removed and is just left in cvs for reference.
49 lines
1.4 KiB
C++
49 lines
1.4 KiB
C++
// This file may be redistributed and modified only under the terms of
|
|
// the GNU Lesser General Public License (See COPYING for details).
|
|
// Copyright (C) 2004 Alistair Riddoch
|
|
|
|
#error This file has been removed from the build
|
|
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
|
|
|
#ifndef TOOLS_FORMATTER_H
|
|
#define TOOLS_FORMATTER_H
|
|
|
|
#include <Atlas/Bridge.h>
|
|
|
|
class Formatter : public Atlas::Bridge
|
|
{
|
|
public:
|
|
|
|
Formatter(std::iostream & s, Atlas::Bridge & b);
|
|
|
|
virtual void streamBegin();
|
|
virtual void streamMessage(const Atlas::Bridge::Map &);
|
|
virtual void streamEnd();
|
|
|
|
virtual void mapItem(const std::string& name, const Atlas::Bridge::Map&);
|
|
virtual void mapItem(const std::string& name, const Atlas::Bridge::List&);
|
|
virtual void mapItem(const std::string& name, long);
|
|
virtual void mapItem(const std::string& name, double);
|
|
virtual void mapItem(const std::string& name, const std::string&);
|
|
virtual void mapEnd();
|
|
|
|
virtual void listItem(const Atlas::Bridge::Map&);
|
|
virtual void listItem(const Atlas::Bridge::List&);
|
|
virtual void listItem(long);
|
|
virtual void listItem(double);
|
|
virtual void listItem(const std::string&);
|
|
virtual void listEnd();
|
|
|
|
void setSpacing(int s) {
|
|
m_spacing = s;
|
|
}
|
|
|
|
protected:
|
|
|
|
std::iostream & m_stream;
|
|
Bridge & m_bridge;
|
|
int m_indent;
|
|
int m_spacing;
|
|
};
|
|
|
|
#endif // TOOLS_FORMATTER_H
|