[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using STL containers in PDP++



On Saturday 15 November 2003 21:33, Randall C. O'Reilly wrote:
> These errors indicate that maketa did not succeed, and the problems
> are in the Environment classes so it looks like your <map> include
> broke the maketa scan.  This is highly plausible, as maketa does not
> handle the fancy template stuff in STL.  I suggest you add #ifndef
> __MAKETA__ around the code involving this <map> and that should fix
> it.  However, your <map> related code will not be accessible from the
> script or gui (as these depend on maketa information).  Someday maketa
> needs to be upgraded to handle these stl templates..

If I am not mistaken, only public methods and attributes are accessible from 
the gui or script. Does that mean that if I encapsulate the <map> related 
code in private methods, which are then called from <map>-free public 
methods, I can get around the maketa-limitations?

Sincerely,
-- 
Martin Schafföner

Cognitive Systems Group, Institute of Electronics, Signal Processing and 
Communication Technologies, Department of Electrical Engineering, 
Otto-von-Guericke University Magdeburg
Phone: +49 391 6720063