Beispiel #1
0
void ReadR6Ti( CStream *s, vector<CLASS> *cache, const OBJECT *object )
{
	dword offset = object->offset + s->getreadbyte() / 2;

	s->readdword();
	s->readword();
	s->readword();
	s->readdword();
	int width = s->readword();
	int height = s->readword();
	dword flag = s->readdword();

	dword depth = s->readdword();
	s->readbyte();
	s->readword();

	ReadClassList( s, cache, object );
	dword size=s->readdword();	//	data size
	s->readdword();
	s->readdword();

    //Ö±½Ó¶ÁÈ¡block
	s->seek((size+1)/2*2+2);
	return;

	CImageWriter	image( width, height );

	switch ( flag & 0xff )
	{
	case 2:
		if ( depth & 0x4 )
			Opaque1( s, &image, width, height, depth );
		else
			Opaque2( s, &image, width, height, depth );
		break;
	case 3:
		Transparent( s, &image, width, height, depth );
		break;
	default:
		throw "ReadR6Ti";
	}
		
	image.write( offset );
}
Beispiel #2
0
 // Apparently the base-or-member lookup is actually ambiguous
 // without this qualification.
 C() : A(), test1::B(Opaque2()) {}
Beispiel #3
0
Datei: p3.cpp Projekt: aaasz/SHP
 void A::test() {
   B::foo(Opaque1());
   B::foo(Opaque2());
   B::foo(Opaque3()); // expected-error {{no matching member function}}
 }