Subversion Repositories gelsvn

Rev

Rev 214 | Rev 595 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 214 Rev 382
Line 15... Line 15...
15
			if(f)
15
			if(f)
16
			{
16
			{
17
					f.read(reinterpret_cast<char*>(grid.get()),sz*sizeof(T));
17
					f.read(reinterpret_cast<char*>(grid.get()),sz*sizeof(T));
18
					return true;
18
					return true;
19
			}
19
			}
20
			cout << "Could not open volume" << endl;
20
			cerr << "Could not open volume :" << file << endl;
21
			return false;
21
			return false;
22
	}
22
	}
23
		
23
		
24
		template bool load_raw(const string&, RGrid<unsigned char>& grid);
24
		template bool load_raw(const string&, RGrid<unsigned char>& grid);
25
		template bool load_raw(const string&, RGrid<unsigned short>& grid);
25
		template bool load_raw(const string&, RGrid<unsigned short>& grid);