00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef CARD_H_
00021 #define CARD_H_
00022
00023 #include <string>
00024
00026 class Card
00027 {
00028 public:
00030 Card(){}
00032 void Init (int index,
00033 std::string symbol,
00034 std::string reading,
00035 std::string reading2,
00036 std::string translation,
00037 std::string example_symbol,
00038 std::string example_reading,
00039 std::string example_translation
00040 );
00041
00042
00044 std::string symbol () const;
00046 std::string reading () const;
00048 std::string reading2 () const;
00050 std::string translation () const;
00052 std::string example_symbol () const;
00054 std::string example_reading () const;
00056 std::string example_translation () const;
00058 int index () const;
00059
00060 private:
00062 int index_;
00063 std::string symbol_,
00064 reading_,
00065 reading2_,
00066 translation_,
00067 example_symbol_,
00068 example_reading_,
00069 example_translation_;
00070 };
00071
00072 #endif // CARD_H_