Changeset 567 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/ProcedureGenerator.cpp
- Timestamp:
- May 6, 2008, 3:35:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/ProcedureGenerator.cpp
r565 r567 118 118 } 119 119 120 std::string ProcedureGenerator::GetStaticDefiningStringAsMemberTypeInfoNames( const CClass &_class ) 121 { 122 std::string result; 123 124 BOOST_FOREACH( const Member *pMember, _class.GetDynamicMembers() ) 125 { 126 if( result.size() ) 127 { 128 result += ","; 129 } 130 131 result += "\"" + compiler.TypeToString( pMember->GetType() ) + "\""; 132 } 133 134 return result; 135 } 136 120 137 void ProcedureGenerator::Generate_System_InitializeUserTypesForBaseType( const Classes &classes ) 121 138 { … … 187 204 "tempType.SetMembers([%s],[%s],[%s],%d)", 188 205 objClass.GetStaticDefiningStringAsMemberNames().c_str(), 189 objClass.GetStaticDefiningStringAsMemberTypeInfoNames().c_str(),206 GetStaticDefiningStringAsMemberTypeInfoNames( objClass ).c_str(), 190 207 objClass.GetStaticDefiningStringAsMemberOffsets().c_str(), 191 208 objClass.GetDynamicMembers().size()
Note:
See TracChangeset
for help on using the changeset viewer.