1 /* ***** BEGIN LICENSE BLOCK ***** 2 * 3 * $Id: overlay_symbols.h,v 1.2 2004/11/22 13:42:33 asuraparaju Exp $ $Name: Dirac_1_0_2 $ 4 * 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 6 * 7 * The contents of this file are subject to the Mozilla Public License 8 * Version 1.1 (the "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * http://www.mozilla.org/MPL/ 11 * 12 * Software distributed under the License is distributed on an "AS IS" basis, 13 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for 14 * the specific language governing rights and limitations under the License. 15 * 16 * The Original Code is BBC Research and Development code. 17 * 18 * The Initial Developer of the Original Code is the British Broadcasting 19 * Corporation. 20 * Portions created by the Initial Developer are Copyright (C) 2004. 21 * All Rights Reserved. 22 * 23 * Contributor(s): Chris Bowley (Original Author) 24 * 25 * Alternatively, the contents of this file may be used under the terms of 26 * the GNU General Public License Version 2 (the "GPL"), or the GNU Lesser 27 * Public License Version 2.1 (the "LGPL"), in which case the provisions of 28 * the GPL or the LGPL are applicable instead of those above. If you wish to 29 * allow use of your version of this file only under the terms of the either 30 * the GPL or LGPL and not to allow others to use your version of this file 31 * under the MPL, indicate your decision by deleting the provisions above 32 * and replace them with the notice and other provisions required by the GPL 33 * or LGPL. If you do not delete the provisions above, a recipient may use 34 * your version of this file under the terms of any one of the MPL, the GPL 35 * or the LGPL. 36 * ***** END LICENSE BLOCK ***** */ 37 38 #ifndef _OVERLAY_SYMBOLS_H_ 39 #define _OVERLAY_SYMBOLS_H_ 40 41 #include "libdirac_common/common.h" 42 using dirac::PicArray; 43 44 namespace dirac_instr 45 { 46 class OverlaySymbols 47 { 48 public : 49 OverlaySymbols(); 50 ~OverlaySymbols(); 51 52 // access functions Arrow0()53 const PicArray & Arrow0() const {return m_arrow_0;} Arrow7_5()54 const PicArray & Arrow7_5() const {return m_arrow_7_5;} Arrow15()55 const PicArray & Arrow15() const {return m_arrow_15;} Arrow22_5()56 const PicArray & Arrow22_5() const {return m_arrow_22_5;} Arrow30()57 const PicArray & Arrow30() const {return m_arrow_30;} Arrow37_5()58 const PicArray & Arrow37_5() const {return m_arrow_37_5;} Arrow45()59 const PicArray & Arrow45() const {return m_arrow_45;} Arrow52_5()60 const PicArray & Arrow52_5() const {return m_arrow_52_5;} Arrow60()61 const PicArray & Arrow60() const {return m_arrow_60;} Arrow67_5()62 const PicArray & Arrow67_5() const {return m_arrow_67_5;} Arrow75()63 const PicArray & Arrow75() const {return m_arrow_75;} Arrow82_5()64 const PicArray & Arrow82_5() const {return m_arrow_82_5;} Arrow90()65 const PicArray & Arrow90() const {return m_arrow_90;} ArrowNull()66 const PicArray & ArrowNull() const {return m_arrow_null;} 67 Number0()68 const PicArray & Number0() const {return m_number_0;} Number1()69 const PicArray & Number1() const {return m_number_1;} Number2()70 const PicArray & Number2() const {return m_number_2;} Number3()71 const PicArray & Number3() const {return m_number_3;} Number4()72 const PicArray & Number4() const {return m_number_4;} Number5()73 const PicArray & Number5() const {return m_number_5;} Number6()74 const PicArray & Number6() const {return m_number_6;} Number7()75 const PicArray & Number7() const {return m_number_7;} Number8()76 const PicArray & Number8() const {return m_number_8;} Number9()77 const PicArray & Number9() const {return m_number_9;} 78 SymbolPlus()79 const PicArray & SymbolPlus() const {return m_symbol_plus;} SymbolMinus()80 const PicArray & SymbolMinus() const {return m_symbol_minus;} SymbolGreater()81 const PicArray & SymbolGreater() const {return m_symbol_greater;} SymbolColon()82 const PicArray & SymbolColon() const {return m_symbol_colon;} SymbolNull()83 const PicArray & SymbolNull() const {return m_symbol_null;} 84 LetterF()85 const PicArray & LetterF() const {return m_letter_f;} LetterI()86 const PicArray & LetterI() const {return m_letter_i;} LetterR()87 const PicArray & LetterR() const {return m_letter_r;} 88 Arrow()89 const PicArray & Arrow() const {return m_arrow;} Arrow(const PicArray & arrow)90 void Arrow(const PicArray & arrow) {m_arrow=arrow;} 91 Character()92 const PicArray & Character() const {return m_character;} Character(const PicArray & character)93 void Character(const PicArray & character) {m_character=character;} 94 95 private : 96 //! Arrow arrays 97 PicArray m_arrow_0, m_arrow_7_5, m_arrow_15, m_arrow_22_5, m_arrow_30, m_arrow_37_5, m_arrow_45; 98 PicArray m_arrow_52_5, m_arrow_60, m_arrow_67_5, m_arrow_75, m_arrow_82_5, m_arrow_90, m_arrow_null; 99 PicArray & m_arrow; 100 101 //! Number arrays 102 PicArray m_number_0, m_number_1, m_number_2, m_number_3, m_number_4, m_number_5, m_number_6, m_number_7, m_number_8, m_number_9; 103 PicArray m_symbol_null, m_symbol_plus, m_symbol_minus, m_symbol_greater, m_symbol_colon; 104 105 //! Letter arrays 106 PicArray m_letter_f, m_letter_i, m_letter_r; 107 108 PicArray & m_character; 109 }; 110 111 } // namespace dirac_instr 112 113 #endif 114