simple-node.h revision a0eb36b7bc681acf005593034da663d0befc4d29
/*
* SimpleNode - generic 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_SIMPLE_NODE_H
#define SEEN_INKSCAPE_XML_SIMPLE_NODE_H
#include "xml/attribute-record.h"
#include "xml/composite-node-observer.h"
#include "util/list-container.h"
{
void setCodeUnsafe(int code) {
}
}
}
unsigned childCount() const { return _child_count; }
}
}
unsigned position() const;
void setPosition(int pos);
return _attributes;
}
}
}
void removeListenerByData(void *data) {
}
}
}
}
SimpleNode(int code);
public: // ideally these should be protected somehow...
unsigned _cachedPosition() const { return _cached_position; }
void _setCachedPosition(unsigned position) const {
}
mutable unsigned _cached_position;
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:encoding=utf-8:textwidth=99 :