[ROOT] namespaces

From: Artur Szostak (Artur.Szostak@fi.uib.no)
Date: Sat May 17 2003 - 18:29:09 MEST


Could someone point out where to find information/documentation about how to 
implement namespaces in ROOT. 
For example I have the following in C++:

namespace SomeNamespace
{

class SomeClass
{
public:
	SomeClass()
	{
	};

	int ReturnOne()
	{
		return 1;
	};
};

}; // end of namespace SomeNamespace


How would I get this class and namespace compiled into a shared library under 
linux to run properly in ROOT?

I know how to do this when the class is in the global namespace but not if it 
is inside my namespace.

thanks.


-- 

Artur Szostak

Department of Physics
University of Cape Town
Email: Artur.Szostak@fi.uib.no  (only valid until 30 June)
         artur@alice.phy.uct.ac.za



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET