Changeset 412 in dev for trunk/abdev/BasicCompiler_Common/src
- Timestamp:
- Mar 3, 2008, 10:11:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Class.cpp
r409 r412 1382 1382 sprintf( 1383 1383 temporary, 1384 "tempType.SetMembers([%s],[%s], %d)",1384 "tempType.SetMembers([%s],[%s],[%s],%d)", 1385 1385 objClass.GetStaticDefiningStringAsMemberNames().c_str(), 1386 1386 objClass.GetStaticDefiningStringAsMemberTypeInfoNames().c_str(), 1387 objClass.GetStaticDefiningStringAsMemberOffsets().c_str(), 1387 1388 objClass.GetDynamicMembers().size() 1388 1389 ); … … 1555 1556 return result; 1556 1557 } 1557 1558 std::string CClass::GetStaticDefiningStringAsMemberOffsets() const 1559 { 1560 std::string result; 1561 1562 BOOST_FOREACH( const CMember *pMember, dynamicMembers ) 1563 { 1564 if( result.size() ) 1565 { 1566 result += ","; 1567 } 1568 1569 int offset = this->GetMemberOffset( pMember->GetName().c_str() ); 1570 1571 char temporary[255]; 1572 itoa( offset, temporary, 16 ); 1573 1574 result += (std::string)"&H" + temporary; 1575 } 1576 1577 return result; 1578 }
Note:
See TracChangeset
for help on using the changeset viewer.