Click here to Skip to main content
15,895,142 members
Articles / Desktop Programming / MFC

Tree Container Library

Rate me:
Please Sign up or sign in to vote.
4.85/5 (29 votes)
22 Aug 2007Zlib10 min read 230.2K   7.2K   111  
A generic template class library for storing data in a tree-like structure.
#pragma once
#include "basic_tree_tester.h"


template<typename treetype>
class child_iterator_tester : public basic_tree_tester<treetype>
{
public:
	child_iterator_tester() {}
	~child_iterator_tester() {}

	// interface
	void run();

private:
	// implementation
	void test_constructors();
	void test_operators();
	void test_deref_operator();
	void test_ptr_deref();
	void test_incr_decr();
	void test_node();

};


void test_child_iterators();

#include "child_iterator_tester.inl"

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The zlib/libpng License



Comments and Discussions