The fundamentals of structural building codes