![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
Jim Langston wrote: SetOffset( "Race", *reinterpret_cast<unsigned int*>( &Base->Race ) ); *RETCH* The need for reinterpret_cast alone is a deal-killer for me. This is one of the reasons I don't like to use raw C. |
|
if ( ! PlayerTable.LoadTable( "Name", "Serpardum" ) ) std::cout << "Serpardum not found" << std::endl; else PlayerTable.OutputMapByColumn(); PlayerTable >> Player; I guess I'm not studying your code closely enough, because I don't see what you're doing here that can't be done with SSQLS. |
|
I also allow PlayerTable << Player; to set the fields in the table so I can .update() or .insert() them. |
|
How hard would it be to implement this in MySQL++ if it even should? |
#3
| ||||
| ||||
|
|
SetOffset( "Race", *reinterpret_cast<unsigned int*>( &Base->Race ) ); |
|
if ( ! PlayerTable.LoadTable( "Name", "Serpardum" ) ) std::cout << "Serpardum not found" << std::endl; else PlayerTable.OutputMapByColumn(); PlayerTable >> Player; |
|
I also allow PlayerTable << Player; to set the fields in the table so I can .update() or .insert() them. |
|
How hard would it be to implement this in MySQL++ if it even should? |
#4
| |||
| |||
|
|
I asked specifically if MySQL++ had the ability to load directly into a class/structure and was told no. You are telling me I can do this with SSQLS? |
![]() |
| Thread Tools | |
| Display Modes | |
| |