代码搜索:Inheritance
找到约 1,689 项符合「Inheritance」的源代码
代码结果 1,689
www.eeworm.com/read/440203/1799373
java bird.java
package com.bjsxt.ejb.inheritance;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
@Entity
@DiscriminatorValue("B")
public class Bird extends Animal{
private i
www.eeworm.com/read/414813/2142383
am makefile.am
SUBDIRS = algorithm
#EXTRA_DIST =
# Notes:
#
# PlanarGraph.h is needed by LineMergeGraph.h (needed by LineMerger.h)
# for inheritance
#
# NodeMap.h needed by PlanarGraph.h for compo
www.eeworm.com/read/366702/2870610
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/366702/2871065
c visibility8.c
// { dg-do assemble }
// GROUPS passed visibility
// Make sure private inheritance affects the visibility of
// static members used in an inherited context.
class foo
{
public:
static int y; // { d
www.eeworm.com/read/300429/13914767
h inheritstack.h
// inheritstack.h
// Data structures for a "stack" -- a Last-In-First-Out list of integers.
//
// We define two separate implementations of stacks, to
// illustrate C++ inheritance.
//
// Copyright (c
www.eeworm.com/read/388617/8595364
cpp workmi.cpp
// workmi.cpp -- multiple inheritance
// compile with workermi.cpp
#include
#include
#include "workermi.h"
const int SIZE = 5;
int main()
{
using std::cin;
using
www.eeworm.com/read/388617/8595890
cpp usedma.cpp
// usedma.cpp -- inheritance, friends, and DMA
// compile with dma.cpp
#include
#include "dma.h"
int main()
{
using std::cout;
using std::endl;
baseDMA shirt("Portabel
www.eeworm.com/read/388617/8596436
cpp workmi.cpp
// workmi.cpp -- multiple inheritance
// compile with workermi.cpp
#include
#include
#include "workermi.h"
const int SIZE = 5;
int main()
{
using std::cin;
using
www.eeworm.com/read/388617/8596929
cpp usedma.cpp
// usedma.cpp -- inheritance, friends, and DMA
// compile with dma.cpp
#include
#include "dma.h"
int main()
{
using std::cout;
using std::endl;
baseDMA shirt("Portabel
www.eeworm.com/read/175135/9558511
cpp workmi.cpp
// workmi.cpp -- multiple inheritance
// compile with workermi.cpp
#include
#include
#include "workermi.h"
const int SIZE = 5;
int main()
{
using std::cin;
using