sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 10092 - svn://svn.freehep.org/svn / freehep / cvs / aidainclude / trunk / AIDA / IDataPoint.h
Show File - IDataPoint.h  [show properties]
Search for Help
spinner
// -*- C++ -*-
// AID-GENERATED
// =========================================================================
// This class was generated by AID - Abstract Interface Definition
// DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
// =========================================================================
#ifndef AIDA_IDATAPOINT_H
#define AIDA_IDATAPOINT_H 1
10  // This file is part of the AIDA library
11  // Copyright (C) 2002 by the AIDA team. All rights reserved.
12  // This library is free software and under the terms of the
13  // GNU Library General Public License described in the LGPL.txt
14 
15  namespace AIDA {
16 
17  class IMeasurement;
18 
19  /**
20   * Basic user-level interface class for holding and managing
21   * a single set of "measurements".
22   *
23   * @author The AIDA team (http://aida.freehep.org/)
24   *
25   */
26 
27  class IDataPoint {
28 
29  public:
30      /// Destructor.
31      virtual ~IDataPoint() { /* nop */; }
32 
33      /**
34       * Get the dimension of the IDataPoint, i.e. the number
35       * of coordinates the point has.
36       * @return The dimension.
37       *
38       */
39      virtual int dimension() const = 0;
40 
41      /**
42       * Get the IMeasurement for a given coordinate.
43       * @param coord The coordinate.
44       * @return The corresponding IMeasurement.
45       *
46       */
47      virtual IMeasurement * coordinate(int coord) = 0;
48 
49      virtual const IMeasurement * coordinate(int coord) const = 0;
50  }; // class
51  } // namespace AIDA
52  #endif /* ifndef AIDA_IDATAPOINT_H */


feed icon

sventon 2.5.1