summaryrefslogtreecommitdiff
path: root/ADBC/adbc/Parameter_List.h
blob: 33073662fc0155286ffb47384e14db0a63e2d360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// -*- C++ -*-

//=============================================================================
/**
 * @file        Parameter_List.h
 *
 * $Id$
 *
 * @author      James H. Hill
 */
//=============================================================================

#ifndef _ADBC_PARAMETER_LIST_H_
#define _ADBC_PARAMETER_LIST_H_

#include "ADBC_export.h"
#include "config.h"

namespace ADBC
{
// Forward decl.
class Parameter;

/**
 * @class Parameter_List
 */
class ADBC_Export Parameter_List
{
public:
  /// Default constructor.
  Parameter_List (void);

  /// Destructor
  virtual ~Parameter_List (void);

  /**
   * Get the paramater at the specified index.
   *
   * @param[in]       index       Index of interest.
   */
  virtual const Parameter & operator [] (size_t index) const = 0;

  /**
   * Get the paramater at the specified index.
   *
   * @param[in]       index       Index of interest.
   */
  virtual Parameter & operator [] (size_t index) = 0;

  /**
   * Get the size of the parameter list.
   */
  virtual size_t size (void) const = 0;
};
}

#if defined (__ADBC_INLINE__)
#include "Parameter_List.inl"
#endif

#endif  // !defined _ADBC_DB_PARAMETER_LIST_H_