~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to debug/org.eclipse.cdt.debug.core/cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIWatchpoint.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2011-10-06 21:15:04 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111006211504-8dutmljjih0zikfv
Tags: 8.0.1-1
* New upstream release.
* Split the JNI packages into a separate architecture dependent
  package and made eclipse-cdt architecture independent.
* Install JNI libraries into multiarch aware location
* Bumped Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*******************************************************************************
 
2
 * Copyright (c) 2000, 2006 QNX Software Systems and others.
 
3
 * All rights reserved. This program and the accompanying materials
 
4
 * are made available under the terms of the Eclipse Public License v1.0
 
5
 * which accompanies this distribution, and is available at
 
6
 * http://www.eclipse.org/legal/epl-v10.html
 
7
 *
 
8
 * Contributors:
 
9
 *     QNX Software Systems - Initial API and implementation
 
10
 *******************************************************************************/
 
11
 
 
12
package org.eclipse.cdt.debug.core.cdi.model;
 
13
 
 
14
import org.eclipse.cdt.debug.core.cdi.CDIException;
 
15
 
 
16
/**
 
17
 * 
 
18
 * Represents a watchpoint.
 
19
 * 
 
20
 * @since Jul 9, 2002
 
21
 */
 
22
public interface ICDIWatchpoint extends ICDIBreakpoint {
 
23
        final static public int WRITE = 0x1;
 
24
        final static public int READ = 0x2;
 
25
 
 
26
        /**
 
27
         * Returns whether this watchppoint is a write watchpoint.
 
28
         * 
 
29
         * @return whether this watchppoint is a write watchpoint
 
30
         */
 
31
        boolean isWriteType();
 
32
        
 
33
        /**
 
34
         * Returns whether this watchppoint is a read watchpoint.
 
35
         * 
 
36
         * @return whether this watchppoint is a read watchpoint
 
37
         */
 
38
        boolean isReadType();
 
39
        
 
40
        /**
 
41
         * Returns the watchpoint's expression.
 
42
         * 
 
43
         * @return the expression of this watchpoint
 
44
         * @throws CDIException if this method fails.  Reasons include:
 
45
         */
 
46
        String getWatchExpression() throws CDIException;
 
47
}