/**
 * 最初の著者:: トゥイー
 * リポジトリ情報:: $Id: GrammarCommonImpl.hpp 23 2011-05-10 02:25:55Z yutaka_at_home $
 * 著作権:: Copyright (C) Ownway.info, 2011. All rights reserved.
 * ライセンス:: CPL(Common Public Licence)
 */

#ifndef _SPEECH_CONTROLLER_FRAMEWORK_GRAMMAR_GRAMMAR_COMMON_IMPL_HPP_
#define _SPEECH_CONTROLLER_FRAMEWORK_GRAMMAR_GRAMMAR_COMMON_IMPL_HPP_

#include "spcf/core/Grammar.hpp"

namespace spcf {

	class GrammarCommonImpl_i;

	class GrammarCommonImpl : public Grammar {
	private:
		GrammarCommonImpl_i* impl;

	public:
		GrammarCommonImpl(const std::string& name);
		virtual ~GrammarCommonImpl();

	public:
		void addGrammarTransition(const GrammarTransitionPtr& transition);

	public:
		std::string getName();
		GrammarTransitionList::const_iterator beginTransitions();
		GrammarTransitionList::const_iterator endTransitions();
	};

}  // namespace spcf

#endif
