[aspectc-user] questions about ac-languageref

Olaf Spinczyk Olaf.Spinczyk at informatik.uni-erlangen.de
Tue Mar 28 10:15:39 CEST 2006


Hi Pavlo,

Pavlo Korzhyk wrote:
>>The section is completely specific for AspectC++ and definitely not
>>copied from the PUMA manual.
> 
> All section 3 examples mention PUMA or Parser, that's why I decided it
> is from PUMA documentation. Anyway it was only assumption. I will look
> into source tarball.
> 
> Some more question:
> Is it possible to add persistence or automatic mapping to relational
> database to my classes with aspects? I want aspect to introduce a
> method, that will look into my classes, analyze each attribute type
> and save it to file or into the database column with the same name.

No, that's not possible, yet. Therefore, one would need a static 
reflection mechanism. Our plan is to provide such mechanism as a 
JoinPoint-API for introduction, but it hasn't been implemented, yet.
> 
> Some functions, like printvalue() are a part of AspectC++, but they
> are not documented. I suspect there are more features, that are not
> mentioned in languageref. Where shall I look for additional
> documentation?

Are you talking about the printvalue() function that is used in the 
'Trace' example? This function is part of the example and defined in 
mangle.cc.

I'm sorry but there are no undocument but useful features available.

Best regards,

Olaf



More information about the aspectc-user mailing list