代码搜索:Inheritance
找到约 1,689 项符合「Inheritance」的源代码
代码结果 1,689
www.eeworm.com/read/225725/14522253
htm ei44.htm
Effective C++, 2E | Item 44: Say what you mean; understand w
www.eeworm.com/read/225725/14522272
htm ei35.htm
Effective C++, 2E | Item 35: Make sure public inheritance mo
www.eeworm.com/read/223685/14619374
txt pthread_mutexattr_setprotocol.txt
pthread_mutexattr_setprotocol Subroutine
Purpose
Sets the value of the protocol attribute of a mutex attributes object.
Library
Threads Library (libpthreads.a)
Syntax
#include
int
www.eeworm.com/read/165904/5476688
java drei.java
package tutorial.dev.inheritance;
/**
* @hibernate.subclass
*
*/
public class Drei extends Zwei {
}
www.eeworm.com/read/165904/5476694
java subclass.java
package tutorial.inheritance.tableperconcreteclass;
/**
* @hibernate.class
* table="subclass"
*/
public class Subclass extends Superclass {
private String subName;
/**
* @hibernate.property
www.eeworm.com/read/165904/5476697
java superclass.java
package tutorial.inheritance.tableperconcreteclass;
/**
* @hibernate.class
* table="superclass"
*/
public class Superclass extends AbstractClass {
private String superName;
/**
* @hibernate.pr
www.eeworm.com/read/162614/5521007
c template2.c
// { dg-do assemble }
//Inheritance from templates which are namespace members
namespace foo {
template
struct x {
x(){}
};
}
class y : public foo::x {};
y r;
www.eeworm.com/read/162614/5522415
c const4.c
// { dg-do assemble }
// PRMS Id: 8927
// Bug: complex inheritance interferes with const checking
class GrandParent {
public:
virtual void DoIt();
protected:
int A;
};
class Parent : virtual pu
www.eeworm.com/read/162614/5522436
c virtual.c
// { dg-do assemble }
// From: chw@bellcore.com (Charlie Woloszynski,MRE 2J-278,8295228,,27143)
// Newsgroups: gnu.g++.bug
// Subject: gcc-2.5.5 bug in multiple inheritance and pure virtual functions
www.eeworm.com/read/174006/9612400
txt 2.7.txt
Listing 2.7 Using Inheritance to Define a Related Set of Objects
using System;
namespace _8_Inheritance
{
// base class definition
public class MediaDevice
{
protected bool on = false;
virtual