summaryrefslogtreecommitdiff
path: root/Build/source/libs/graphite-engine/src/segment/GrFeatureValues.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/graphite-engine/src/segment/GrFeatureValues.h')
-rw-r--r--Build/source/libs/graphite-engine/src/segment/GrFeatureValues.h71
1 files changed, 0 insertions, 71 deletions
diff --git a/Build/source/libs/graphite-engine/src/segment/GrFeatureValues.h b/Build/source/libs/graphite-engine/src/segment/GrFeatureValues.h
deleted file mode 100644
index de9eda0f03f..00000000000
--- a/Build/source/libs/graphite-engine/src/segment/GrFeatureValues.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/*--------------------------------------------------------------------*//*:Ignore this sentence.
-Copyright (C) 1999 - 2008 SIL International. All rights reserved.
-
-Distributable under the terms of either the Common Public License or the
-GNU Lesser General Public License, as specified in the LICENSING.txt file.
-
-File: GrFeatureValues.h
-Responsibility: Sharon Correll
-Last reviewed: Not yet.
-
-Description:
-
-
-----------------------------------------------------------------------------------------------*/
-#ifdef _MSC_VER
-#pragma once
-#endif
-#ifndef GR_FEATVAL_INCLUDED
-#define GR_FEATVAL_INCLUDED
-
-//:End Ignore
-
-namespace gr
-{
-
-/*----------------------------------------------------------------------------------------------
- A convenient way to group together style and feature information that interacts
- with the rules.
-
- Hungarian: fval
-----------------------------------------------------------------------------------------------*/
-class GrFeatureValues
-{
- friend class GrCharStream;
- friend class GrSlotAbstract;
- friend class GrSlotState;
-
-public:
- // Standard constructor:
- GrFeatureValues()
- {
- m_nStyleIndex = 0;
- std::fill(m_rgnFValues, m_rgnFValues + kMaxFeatures, 0);
- }
-
- // Copy constructor:
- GrFeatureValues(const GrFeatureValues & fval)
- {
- m_nStyleIndex = fval.m_nStyleIndex;
- std::copy(fval.m_rgnFValues, fval.m_rgnFValues + kMaxFeatures, m_rgnFValues);
- }
-
- bool FeatureValue(size_t ifeat)
- {
- return m_rgnFValues[ifeat];
- }
-
- // For transduction logging:
-#ifdef TRACING
- void WriteXductnLog(GrTableManager * ptman, std::ostream &);
-#endif // TRACING
-
-protected:
- int m_nStyleIndex;
- int m_rgnFValues[kMaxFeatures];
-};
-
-} // namespace gr
-
-
-#endif // !GR_FEATVAL_INCLUDED