HanyuPinyinOutputFormat.m 466 B

12345678910111213141516171819202122232425262728
  1. //
  2. //
  3. //
  4. // Created by kimziv on 13-9-14.
  5. //
  6. #include "HanyuPinyinOutputFormat.h"
  7. @implementation HanyuPinyinOutputFormat
  8. @synthesize vCharType=_vCharType;
  9. @synthesize caseType=_caseType;
  10. @synthesize toneType=_toneType;
  11. - (id)init {
  12. if (self = [super init]) {
  13. [self restoreDefault];
  14. }
  15. return self;
  16. }
  17. - (void)restoreDefault {
  18. _vCharType = VCharTypeWithUAndColon;
  19. _caseType = CaseTypeLowercase;
  20. _toneType = ToneTypeWithToneNumber;
  21. }
  22. @end