/** @file
* @brief GC-managed XML node implementation
*/
/* Copyright 2004-2005 MenTaLguY <mental@rydia.net>
*
* 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.
*
* See the file COPYING for details.
*/
#ifndef SEEN_INKSCAPE_XML_NODE_H
#error You have included xml/simple-node.h in your document, which is an implementation. Chances are that you want xml/node.h. Please fix that.
#endif
#ifndef SEEN_INKSCAPE_XML_SIMPLE_NODE_H
#define SEEN_INKSCAPE_XML_SIMPLE_NODE_H
#include <cassert>
#include <iostream>
#include "xml/attribute-record.h"
#include "xml/composite-node-observer.h"
#include "util/list-container.h"
/**
* @brief Default implementation of the XML node stored in memory.
*
* @see Inkscape::XML::Node
*/
{
char const *name() const;
}
}
}
}
}
unsigned position() const;
void setPosition(int pos);
bool matchAttributeName(char const *partial_name) const;
char const *content() const;
void setContent(char const *value);
return _attributes;
}
}
}
}
}
}
}
void recursivePrintTree(unsigned level = 0);
int _name;
unsigned _child_count;
};
}
}
#endif
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :