root/ompi/mpi/java/java/FileView.java

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. getDisp
  2. getEType
  3. getFileType
  4. getDataRep

   1 /*
   2  * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
   3  *                         University Research and Technology
   4  *                         Corporation.  All rights reserved.
   5  * Copyright (c) 2004-2005 The University of Tennessee and The University
   6  *                         of Tennessee Research Foundation.  All rights
   7  *                         reserved.
   8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
   9  *                         University of Stuttgart.  All rights reserved.
  10  * Copyright (c) 2004-2005 The Regents of the University of California.
  11  *                         All rights reserved.
  12  * Copyright (c) 2015      Los Alamos National Security, LLC. All rights
  13  *                         reserved.
  14  * $COPYRIGHT$
  15  *
  16  * Additional copyrights may follow
  17  *
  18  * $HEADER$
  19  */
  20 
  21 package mpi;
  22 
  23 /**
  24  * This class represents file views.
  25  */
  26 public final class FileView
  27 {
  28         private final long disp;
  29         private final Datatype etype, filetype;
  30         private final String datarep;
  31 
  32         /**
  33          * Constructs a file view.
  34          * @param disp     displacement
  35          * @param etype    elementary datatype
  36          * @param filetype file type
  37          * @param datarep  data representation
  38          */
  39         public FileView(long disp, Datatype etype, Datatype filetype, String datarep)
  40         {
  41                 this.disp     = disp;
  42                 this.etype    = etype;
  43                 this.filetype = filetype;
  44                 this.datarep  = datarep;
  45         }
  46 
  47         /**
  48          * Gets the displacement.
  49          * @return displacement
  50          */
  51         public long getDisp()
  52         {
  53                 return disp;
  54         }
  55 
  56         /**
  57          * Gets the elementary datatype.
  58          * @return elementary datatype
  59          */
  60         public Datatype getEType()
  61         {
  62                 return etype;
  63         }
  64 
  65         /**
  66          * Gets the file type.
  67          * @return file type
  68          */
  69         public Datatype getFileType()
  70         {
  71                 return filetype;
  72         }
  73 
  74         /**
  75          * Gets the data representation.
  76          * @return data representation
  77          */
  78         public String getDataRep()
  79         {
  80                 return datarep;
  81         }
  82 
  83 } // FileView

/* [<][>][^][v][top][bottom][index][help] */