- Timestamp:
- 10/28/11 05:35:15 (13 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Converter.cc
r11735 r12308 357 357 358 358 ostringstream stream; 359 stream << (int64_t)t;359 stream << t; 360 360 ptr += sizeof(T); 361 362 return stream.str(); 363 } 364 365 template<char> 366 string Converter::GetString(const char* &ptr) const 367 { 368 ostringstream stream; 369 stream << (int64_t)*ptr; 370 ptr += 1; 361 371 362 372 return stream.str(); … … 663 673 for (int j=0; j<i->second.first; j++) 664 674 { 675 cout << i->first.first->name()[0] << endl; 665 676 switch (i->first.first->name()[0]) 666 677 { -
trunk/FACT++/src/Converter.h
r11712 r12308 50 50 template<class T> 51 51 std::string GetString(const char *&data) const; 52 template<char> 53 std::string GetString(const char* &ptr) const; 52 54 53 55 template<class T>
Note:
See TracChangeset
for help on using the changeset viewer.