Example #1
0
        //----------------------------------------------------------------------

        public void addMember(MemberData aMember)
        {
            mMemberList.Add(aMember);

            if (aMember.mName.Length > mNameMaxSize)
            {
                mNameMaxSize = aMember.mName.Length;
            }

            if (aMember.mIsArray == false)
            {
                if (aMember.mTypeNameCP.Length > mTypeMaxSize)
                {
                    mTypeMaxSize = aMember.mTypeNameCP.Length;
                }
            }
            else
            {
                if (aMember.mTypeNameCP.Length + 2 > mTypeMaxSize)
                {
                    mTypeMaxSize = aMember.mTypeNameCP.Length + 2;
                }
            }
        }