[apps/*/expression_model_store] Remove virtual symbol and unknownSymbol methods

This commit is contained in:
Ruben Dashyan
2019-07-19 15:50:41 +02:00
committed by Léa Saviot
parent b665e841ad
commit 07af06aaad
3 changed files with 0 additions and 6 deletions

View File

@@ -11,8 +11,6 @@ namespace Graph {
class CartesianFunctionStore : public Shared::FunctionStore {
public:
Shared::ExpiringPointer<Shared::CartesianFunction> modelForRecord(Ion::Storage::Record record) const { return Shared::ExpiringPointer<Shared::CartesianFunction>(static_cast<Shared::CartesianFunction *>(privateModelForRecord(record))); }
CodePoint symbol() const override { return Shared::CartesianFunction::Symbol(); }
CodePoint unknownSymbol() const override { return UCodePointUnknownX; }
private:
Ion::Storage::Record::ErrorStatus addEmptyModel() override;
const char * modelExtension() const override { return Ion::Storage::funcExtension; }

View File

@@ -12,8 +12,6 @@ namespace Sequence {
class SequenceStore : public Shared::FunctionStore {
public:
using Shared::FunctionStore::FunctionStore;
CodePoint symbol() const override { return Sequence::Symbol(); }
CodePoint unknownSymbol() const override { return UCodePointUnknownN; }
/* Sequence Store hold all its Sequences in an array. The Sequence pointers
* return by modelForRecord are therefore non-expirable. We choose to return
* Sequence * instead of ExpiringPointer<Sequence>. */

View File

@@ -14,8 +14,6 @@ class ExpressionModelStore {
// TODO find better name (once we remove ExpressionModelStore?)
public:
ExpressionModelStore();
virtual CodePoint symbol() const { return 0; }
virtual CodePoint unknownSymbol() const { return 0; }
// Getters
// By default, the number of models is not bounded