/[classpath]/classpath/org/omg/DynamicAny/DynStructOperations.java
ViewVC logotype

Diff of /classpath/org/omg/DynamicAny/DynStructOperations.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by audriusa, Thu Jul 28 14:38:13 2005 UTC revision 1.2 by audriusa, Sun Jul 31 18:21:30 2005 UTC
# Line 1  Line 1 
1  /* DynStructOperations.java --  /* DynStructOperations.java --
2     Copyright (C) 2005 Free Software Foundation, Inc.     Copyright (C) 2005 Free Software Foundation, Inc.
   
3  This file is part of GNU Classpath.  This file is part of GNU Classpath.
4    
5  GNU Classpath is free software; you can redistribute it and/or modify  GNU Classpath is free software; you can redistribute it and/or modify
# Line 47  import org.omg.DynamicAny.DynAnyPackage. Line 46  import org.omg.DynamicAny.DynAnyPackage.
46   *   *
47   * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)   * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
48   */   */
49  public interface DynStructOperations extends DynAnyOperations  public interface DynStructOperations
50      extends DynAnyOperations
51  {  {
52    /**    /**
53     * Get the kind of the structure field at the current position.     * Get the kind of the structure field at the current position.
# Line 57  public interface DynStructOperations ext Line 57  public interface DynStructOperations ext
57     * @throws TypeMismatch for an empty structure (normally exception).     * @throws TypeMismatch for an empty structure (normally exception).
58     * @throws InvalidValue if the current position does not indicate a memeber.     * @throws InvalidValue if the current position does not indicate a memeber.
59     */     */
60    TCKind current_member_kind() throws TypeMismatch, InvalidValue;    TCKind current_member_kind()
61        throws TypeMismatch, InvalidValue;
62    
63    /**    /**
64     * Get the name of the structure field at the current position.     * Get the name of the structure field at the current position.
# Line 67  public interface DynStructOperations ext Line 68  public interface DynStructOperations ext
68     * @throws TypeMismatch for an empty structure (normally exception).     * @throws TypeMismatch for an empty structure (normally exception).
69     * @throws InvalidValue if the current position does not indicate a memeber.     * @throws InvalidValue if the current position does not indicate a memeber.
70     */     */
71    String current_member_name() throws TypeMismatch, InvalidValue;    String current_member_name()
72        throws TypeMismatch, InvalidValue;
73    
74    /**    /**
75     * Return array, describing describing the name and the value of each member     * Return array, describing describing the name and the value of each member
# Line 102  public interface DynStructOperations ext Line 104  public interface DynStructOperations ext
104     * @param an array of NameDynValuePair's, each defining a single field in the     * @param an array of NameDynValuePair's, each defining a single field in the
105     * structure.     * structure.
106     *     *
107     * @throws TypeMismatch if the member of the passed array has a different     * @throws TypeMismatch if the member of the passed array has a different type
108     * type than the corresponding structure field.     * than the corresponding structure field.
109     *     *
110     * @throws InvalidValue if the size of the passed array is not the same as the     * @throws InvalidValue if the size of the passed array is not the same as the
111     * number of fields in this structure.     * number of fields in this structure.
112     */     */
113    void set_members_as_dyn_any(NameDynAnyPair[] value) throws TypeMismatch,    void set_members_as_dyn_any(NameDynAnyPair[] value)
114        InvalidValue;      throws TypeMismatch, InvalidValue;
115    
116    /**    /**
117     * Set the structure contend from the array, where each member defines the     * Set the structure contend from the array, where each member defines the
# Line 126  public interface DynStructOperations ext Line 128  public interface DynStructOperations ext
128     * @param an array of NameValuePair's, each defining a single field in the     * @param an array of NameValuePair's, each defining a single field in the
129     * structure.     * structure.
130     *     *
131     * @throws TypeMismatch if the member of the passed array has a different     * @throws TypeMismatch if the member of the passed array has a different type
132     * type than the corresponding structure field.     * than the corresponding structure field.
133     *     *
134     * @throws InvalidValue if the size of the passed array is not the same as the     * @throws InvalidValue if the size of the passed array is not the same as the
135     * number of fields in this structure.     * number of fields in this structure.
136     */     */
137    void set_members(NameValuePair[] value) throws TypeMismatch, InvalidValue;    void set_members(NameValuePair[] value)
138        throws TypeMismatch, InvalidValue;
139    
140  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26