------------------------------------------------------------------------------
| 1740 | |
| 1741 | //------------------------------------------------------------------------------ |
| 1742 | bool load( const std::string& file_name ) |
| 1743 | { |
| 1744 | std::ifstream stream; |
| 1745 | stream.open( file_name.c_str(), std::ios::in | std::ios::binary ); |
| 1746 | if ( !stream ) { |
| 1747 | return false; |
| 1748 | } |
| 1749 | |
| 1750 | return load( stream ); |
| 1751 | } |
| 1752 | |
| 1753 | //------------------------------------------------------------------------------ |
| 1754 | bool load( std::istream& stream ) |