|
||||
File indexing completed on 2025-01-18 09:28:08
0001 // -*- C++ -*- 0002 // AID-GENERATED 0003 // ========================================================================= 0004 // This class was generated by AID - Abstract Interface Definition 0005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 0006 // ========================================================================= 0007 #ifndef AIDA_IDATAPOINT_H 0008 #define AIDA_IDATAPOINT_H 1 0009 0010 // This file is part of the AIDA library 0011 // Copyright (C) 2002 by the AIDA team. All rights reserved. 0012 // This library is free software and under the terms of the 0013 // GNU Library General Public License described in the LGPL.txt 0014 0015 namespace AIDA { 0016 0017 class IMeasurement; 0018 0019 /** 0020 * Basic user-level interface class for holding and managing 0021 * a single set of "measurements". 0022 * 0023 * @author The AIDA team (http://aida.freehep.org/) 0024 * 0025 */ 0026 0027 class IDataPoint { 0028 0029 public: 0030 /// Destructor. 0031 virtual ~IDataPoint() { /* nop */; } 0032 0033 /** 0034 * Get the dimension of the IDataPoint, i.e. the number 0035 * of coordinates the point has. 0036 * @return The dimension. 0037 * 0038 */ 0039 virtual int dimension() const = 0; 0040 0041 /** 0042 * Get the IMeasurement for a given coordinate. 0043 * @param coord The coordinate. 0044 * @return The corresponding IMeasurement. 0045 * 0046 */ 0047 virtual IMeasurement * coordinate(int coord) = 0; 0048 0049 virtual const IMeasurement * coordinate(int coord) const = 0; 0050 }; // class 0051 } // namespace AIDA 0052 #endif /* ifndef AIDA_IDATAPOINT_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |