Cpp Access Attributes Of Shapes