Use attribute in sizeof for class attribute parse