the getAttributeAs... functions in IAttributes are not const, except curiously in the case for int. simply adding const to all method declarations seems to work, i.e. the implementations are not doing any non-const accesses and as such it seems reasonable to declare these functions const.
Yeah, I also see no reason for them not to be const. Thanks for the patch, it's been applied in svn trunk r5293