#include "layout_reference.h" #include "layout_cursor.h" #include "allocation_failed_layout_node.h" #include "layout_node.h" #include "char_layout_node.h" template<> TreeNode * LayoutRef::FailedAllocationStaticNode() { static AllocationFailedLayoutNode FailureNode; if (FailureNode.identifier() >= -1) { int newIdentifier = TreePool::sharedPool()->registerStaticNode(&FailureNode); FailureNode.rename(newIdentifier); } return &FailureNode; } template LayoutCursor LayoutReference::cursor() const { return LayoutCursor(this->typedNode()); } template LayoutCursor LayoutReference::cursor() const; template LayoutCursor LayoutReference::cursor() const;