diff options
Diffstat (limited to 'core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/debug/DebugStructType.java')
-rw-r--r-- | core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/debug/DebugStructType.java | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/debug/DebugStructType.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/debug/DebugStructType.java deleted file mode 100644 index 597bb175066..00000000000 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/debug/DebugStructType.java +++ /dev/null @@ -1,60 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2004 QNX Software Systems and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * QNX Software Systems - Initial API and implementation - *******************************************************************************/ - -package org.eclipse.cdt.utils.debug; - - -/** - * DebugStructType - * - */ -public class DebugStructType extends DebugType { - - String name; - int size; - boolean isUnion; - final static DebugField[] EMPTY_FIELDS = new DebugField[0]; - DebugField[] fields; - - /** - * - */ - public DebugStructType(String name, int size, boolean union) { - this.name = name; - this.size = size; - this.isUnion = union; - fields = EMPTY_FIELDS; - } - - public int getSize() { - return size; - } - - public String getName() { - return name; - } - - public boolean isUnion() { - return isUnion; - } - - public DebugField[] getDebugFields() { - return fields; - } - - public void addField(DebugField field) { - DebugField[] fs = new DebugField[fields.length + 1]; - System.arraycopy(fields, 0, fs, 0, fields.length); - fs[fields.length] = field; - fields = fs; - } - -} |