IDatabase.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <ionCore.h>
5 #include "SRange.h"
6 
7 
8 namespace ion
9 {
10 
11  template <typename T>
12  class IDatabase
13  {
14 
15  public:
16 
17  virtual void AddField(std::string const & Field) = 0;
18  virtual bool HasField(std::string const & Field) = 0;
19 
20  virtual SRange<T> GetFieldRange(std::string const & Field, T const OutlierCutoff = 5, SRange<T> const & acceptedValues = SRange<T>::Full) const = 0;
21 
22  };
23 
24 }
virtual void AddField(std::string const &Field)=0
Definition: IDatabase.h:12
Definition: CCatmullRomAdvancedSplineInterpolator.h:7
virtual bool HasField(std::string const &Field)=0
virtual SRange< T > GetFieldRange(std::string const &Field, T const OutlierCutoff=5, SRange< T > const &acceptedValues=SRange< T >::Full) const =0
Definition: SRange.h:11